new fields for Chat p2

bot-api-6.1
MrYadro 2017-06-30 20:31:54 +07:00
parent 0c8884bcba
commit 32f5ed8433
No known key found for this signature in database
GPG Key ID: F46CD4085B2F9482
1 changed files with 10 additions and 9 deletions

View File

@ -96,8 +96,9 @@ type Chat struct {
FirstName string `json:"first_name"` // optional FirstName string `json:"first_name"` // optional
LastName string `json:"last_name"` // optional LastName string `json:"last_name"` // optional
AllMembersAreAdmins bool `json:"all_members_are_administrators"` // optional AllMembersAreAdmins bool `json:"all_members_are_administrators"` // optional
Photo *ChatPhoto `json:"photo"`
Description string `json:"description,omitempty"` // optional Description string `json:"description,omitempty"` // optional
InviteLink string `json:"invite_link,omitempty"` InviteLink string `json:"invite_link,omitempty"` // optional
} }
// IsPrivate returns if the Chat is a private conversation. // IsPrivate returns if the Chat is a private conversation.