Oops
This commit is contained in:
parent
4d8f57e633
commit
a8d249bfc3
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -165,8 +165,8 @@ func webhook(update tg.APIUpdate) {
|
|||
if err == nil {
|
||||
face, _, buttons := getCardEntry(card, facenum)
|
||||
api.EditMedia(tg.ClientEditMediaData{
|
||||
ChatID: update.Message.Chat.ChatID,
|
||||
MessageID: update.Message.MessageID,
|
||||
ChatID: update.Callback.Message.Chat.ChatID,
|
||||
MessageID: update.Callback.Message.MessageID,
|
||||
Media: tg.APIInputMediaPhoto{
|
||||
Type: "photo",
|
||||
Media: face.Large,
|
||||
|
|
Loading…
Reference in a new issue