Skip to content

Commit 4b88e97

Browse files
committed
feat: add is premium user status
1 parent f399a24 commit 4b88e97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ type User struct {
183183
//
184184
// optional
185185
IsBot bool `json:"is_bot,omitempty"`
186+
// IsPremium true, if user has Telegram Premium
187+
//
188+
// optional
189+
IsPremium bool `json:"is_premium,omitempty"`
186190
// FirstName user's or bot's first name
187191
FirstName string `json:"first_name"`
188192
// LastName user's or bot's last name

0 commit comments

Comments
 (0)