mirror of
https://github.com/tucnak/telebot
synced 2024-11-15 06:13:01 +00:00
Merge pull request #146 from aprosvetova/patch-1
fixed wrong method name
This commit is contained in:
commit
b59ea4aec3
2
bot.go
2
bot.go
@ -1022,7 +1022,7 @@ func (b *Bot) Unpin(chat *Chat) error {
|
|||||||
"chat_id": chat.Recipient(),
|
"chat_id": chat.Recipient(),
|
||||||
}
|
}
|
||||||
|
|
||||||
respJSON, err := b.Raw("upinChatMessage", params)
|
respJSON, err := b.Raw("unpinChatMessage", params)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user