diff --git a/main.go b/main.go index e72fba0..a9de763 100644 --- a/main.go +++ b/main.go @@ -165,8 +165,7 @@ func webhook(update tg.APIUpdate) { if err == nil { face, _, buttons := getCardEntry(card, facenum) api.EditMedia(tg.ClientEditMediaData{ - ChatID: update.Callback.Message.Chat.ChatID, - MessageID: update.Callback.Message.MessageID, + InlineID: update.Callback.InlineID, Media: tg.APIInputMediaPhoto{ Type: "photo", Media: face.Large,