Merge pull request #364 from go-telegram-bot-api/chatmember-custom-title
Add CustomTitle field to ChatMemberbot-api-6.1
commit
15c95b8a84
1
types.go
1
types.go
|
@ -517,6 +517,7 @@ type ForceReply struct {
|
||||||
type ChatMember struct {
|
type ChatMember struct {
|
||||||
User *User `json:"user"`
|
User *User `json:"user"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
|
CustomTitle string `json:"custom_title,omitempty"` // optional
|
||||||
UntilDate int64 `json:"until_date,omitempty"` // optional
|
UntilDate int64 `json:"until_date,omitempty"` // optional
|
||||||
CanBeEdited bool `json:"can_be_edited,omitempty"` // optional
|
CanBeEdited bool `json:"can_be_edited,omitempty"` // optional
|
||||||
CanChangeInfo bool `json:"can_change_info,omitempty"` // optional
|
CanChangeInfo bool `json:"can_change_info,omitempty"` // optional
|
||||||
|
|
Loading…
Reference in New Issue