From 4b88e970a11984109b6cea21a9ce581cc9d4bc00 Mon Sep 17 00:00:00 2001 From: temamagic Date: Mon, 20 Jun 2022 05:08:13 +0300 Subject: [PATCH] feat: add is premium user status --- types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types.go b/types.go index 5004892..2148dff 100644 --- a/types.go +++ b/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