all repos — telegram-bot-api @ e305b7a1f5438ee21f50148be3d8c0302fcd05f7

Golang bindings for the Telegram Bot API

Merge pull request #223 from Mephistophiles/master

added PinnedMessage in Chat struct
Syfaro syfaro@huefox.com
Wed, 24 Apr 2019 02:33:26 -0500
commit

e305b7a1f5438ee21f50148be3d8c0302fcd05f7

parent

9b191dba1eb601279c9f804c5b6f2083426bbd83

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M types.gotypes.go

@@ -100,6 +100,7 @@ AllMembersAreAdmins bool `json:"all_members_are_administrators"` // optional

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.