Merge pull request #223 from Mephistophiles/master
added PinnedMessage in Chat struct
This commit is contained in:
commit
e305b7a1f5
1 changed files with 1 additions and 0 deletions
1
types.go
1
types.go
|
@ -100,6 +100,7 @@ type Chat struct {
|
|||
Photo *ChatPhoto `json:"photo"`
|
||||
Description string `json:"description,omitempty"` // optional
|
||||
InviteLink string `json:"invite_link,omitempty"` // optional
|
||||
PinnedMessage *Message `json:"pinned_message"` // optional
|
||||
}
|
||||
|
||||
// IsPrivate returns if the Chat is a private conversation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue