Woopsie
This commit is contained in:
parent
c413039a6b
commit
a99c4b181d
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue