~badt/telebot

937288568d60643dc66b8633f4b45fd9ca402820 — Ilya 1 year, 10 months ago 11cbaea + b0ccf62 v3
Merge pull request #531 from Luoxin/v3

add `is_premium` in `User`
1 files changed, 1 insertions(+), 0 deletions(-)

M chat.go
M chat.go => chat.go +1 -0
@@ 15,6 15,7 @@ type User struct {
	Username     string `json:"username"`
	LanguageCode string `json:"language_code"`
	IsBot        bool   `json:"is_bot"`
	IsPremium    bool   `json:"is_premium"`

	// Returns only in getMe
	CanJoinGroups   bool `json:"can_join_groups"`