Skip to content

Commit

Permalink
Merge pull request go-telegram-bot-api#223 from Mephistophiles/master
Browse files Browse the repository at this point in the history
added PinnedMessage in Chat struct
  • Loading branch information
Syfaro authored Apr 24, 2019
2 parents 9b191db + 0b788c7 commit e305b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e305b7a

Please sign in to comment.