all repos — telegram-bot-api @ 5ebb3edeffaa49f5bdf05e6f810d171714211628

Golang bindings for the Telegram Bot API

feat: Add CustomTitle field to ChatMember
TJ Horner me@tjhorner.com
Mon, 10 Aug 2020 17:17:07 -0400
commit

5ebb3edeffaa49f5bdf05e6f810d171714211628

parent

fb8759e91dfc6af21bd422f49040e4ff463381b4

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

jump to
M types.gotypes.go

@@ -517,6 +517,7 @@ // ChatMember is information about a member in a chat.

type ChatMember struct { User *User `json:"user"` Status string `json:"status"` + CustomTitle string `json:"custom_title,omitempty"` // optional UntilDate int64 `json:"until_date,omitempty"` // optional CanBeEdited bool `json:"can_be_edited,omitempty"` // optional CanChangeInfo bool `json:"can_change_info,omitempty"` // optional