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 {
|
if err == nil {
|
||||||
face, _, buttons := getCardEntry(card, facenum)
|
face, _, buttons := getCardEntry(card, facenum)
|
||||||
api.EditMedia(tg.ClientEditMediaData{
|
api.EditMedia(tg.ClientEditMediaData{
|
||||||
ChatID: update.Message.Chat.ChatID,
|
ChatID: update.Callback.Message.Chat.ChatID,
|
||||||
MessageID: update.Message.MessageID,
|
MessageID: update.Callback.Message.MessageID,
|
||||||
Media: tg.APIInputMediaPhoto{
|
Media: tg.APIInputMediaPhoto{
|
||||||
Type: "photo",
|
Type: "photo",
|
||||||
Media: face.Large,
|
Media: face.Large,
|
||||||
|
|
Loading…
Reference in a new issue