Merge pull request #146 from aprosvetova/patch-1

fixed wrong method name
pull/156/head
Ian Byrd 6 years ago committed by GitHub
commit b59ea4aec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1022,7 +1022,7 @@ func (b *Bot) Unpin(chat *Chat) error {
"chat_id": chat.Recipient(),
}
respJSON, err := b.Raw("upinChatMessage", params)
respJSON, err := b.Raw("unpinChatMessage", params)
if err != nil {
return err
}

Loading…
Cancel
Save