Merge pull request #364 from go-telegram-bot-api/chatmember-custom-title

Add CustomTitle field to ChatMember
bot-api-6.1
TJ Horner 2020-08-11 14:23:51 -04:00 committed by GitHub
commit 15c95b8a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -517,6 +517,7 @@ type ForceReply struct {
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