Merge pull request #364 from go-telegram-bot-api/chatmember-custom-title Add CustomTitle field to ChatMember
TJ Horner me@tjhorner.com
Tue, 11 Aug 2020 14:23:51 -0400
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
types.go
→
types.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