From a99c4b181da551661a5cd290fc5ed82f893b2827 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Thu, 13 Dec 2018 14:03:49 +0100 Subject: [PATCH] Woopsie --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,