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