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

View file

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