Merge pull request #223 from Mephistophiles/master

added PinnedMessage in Chat struct
bot-api-6.1
Syfaro 2019-04-24 02:33:26 -05:00 committed by GitHub
commit e305b7a1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ type Chat struct {
Photo *ChatPhoto `json:"photo"` Photo *ChatPhoto `json:"photo"`
Description string `json:"description,omitempty"` // optional Description string `json:"description,omitempty"` // optional
InviteLink string `json:"invite_link,omitempty"` // optional InviteLink string `json:"invite_link,omitempty"` // optional
PinnedMessage *Message `json:"pinned_message"` // optional
} }
// IsPrivate returns if the Chat is a private conversation. // IsPrivate returns if the Chat is a private conversation.