Ah it's an inline message, RIIIIIGHT
This commit is contained in:
parent
a8d249bfc3
commit
c413039a6b
1 changed files with 1 additions and 2 deletions
3
main.go
3
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,
|
||||
|
|
Loading…
Reference in a new issue