This commit is contained in:
Hamcha 2018-12-13 13:57:37 +01:00
parent 4d8f57e633
commit a8d249bfc3
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ func webhook(update tg.APIUpdate) {
if err == nil {
face, _, buttons := getCardEntry(card, facenum)
api.EditMedia(tg.ClientEditMediaData{
ChatID: update.Message.Chat.ChatID,
MessageID: update.Message.MessageID,
ChatID: update.Callback.Message.Chat.ChatID,
MessageID: update.Callback.Message.MessageID,
Media: tg.APIInputMediaPhoto{
Type: "photo",
Media: face.Large,