feat: add is premium user status
parent
f399a2424c
commit
4b88e970a1
4
types.go
4
types.go
|
@ -183,6 +183,10 @@ type User struct {
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
IsBot bool `json:"is_bot,omitempty"`
|
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 user's or bot's first name
|
||||||
FirstName string `json:"first_name"`
|
FirstName string `json:"first_name"`
|
||||||
// LastName user's or bot's last name
|
// LastName user's or bot's last name
|
||||||
|
|
Loading…
Reference in New Issue