feat: add is premium user status

bot-api-6.1
temamagic 2022-06-20 05:08:13 +03:00
parent f399a2424c
commit 4b88e970a1
1 changed files with 4 additions and 0 deletions

View File

@ -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