feat: add is premium user status
This commit is contained in:
parent
f399a2424c
commit
4b88e970a1
1 changed files with 4 additions and 0 deletions
4
types.go
4
types.go
|
@ -183,6 +183,10 @@ type User struct {
|
|||
//
|
||||
// optional
|
||||
IsBot bool `json:"is_bot,omitempty"`
|
||||
// IsPremium true, if user has Telegram Premium
|
||||
//
|
||||
// optional
|
||||
IsPremium bool `json:"is_premium,omitempty"`
|
||||
// FirstName user's or bot's first name
|
||||
FirstName string `json:"first_name"`
|
||||
// LastName user's or bot's last name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue