This commit is contained in:
Hamcha 2018-12-13 14:03:49 +01:00
parent c413039a6b
commit a99c4b181d
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 1 additions and 1 deletions

View File

@ -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,