all repos — telegram-bot-api @ 4b88e970a11984109b6cea21a9ce581cc9d4bc00

Golang bindings for the Telegram Bot API

feat: add is premium user status
temamagic arteom95@gmail.com
Mon, 20 Jun 2022 05:08:13 +0300
commit

4b88e970a11984109b6cea21a9ce581cc9d4bc00

parent

f399a2424c75d40656bf0fec72aa831ae8edcb04

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M types.gotypes.go

@@ -183,6 +183,10 @@ // IsBot true, if this user is a bot

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