bot: fix misspell in deleteChatPhoto

This commit is contained in:
Rocky Badland 2020-04-26 15:45:31 +03:00
parent 32532699c5
commit b15f9a45d2

2
bot.go
View File

@ -1274,7 +1274,7 @@ func (b *Bot) DeleteGroupPhoto(chat *Chat) error {
"chat_id": chat.Recipient(),
}
data, err := b.Raw("deleteGroupPhoto", params)
data, err := b.Raw("deleteChatPhoto", params)
if err != nil {
return err
}