nvm.
This commit is contained in:
parent
a181114c61
commit
707389387a
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -145,7 +145,7 @@ func webhook(update tg.APIUpdate) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errlist = append(errlist, cardname)
|
errlist = append(errlist, cardname)
|
||||||
} else {
|
} else {
|
||||||
if card.CardFaces != nil {
|
if card.ImageUris.Large == "" && card.CardFaces != nil {
|
||||||
for _, cardface := range card.CardFaces {
|
for _, cardface := range card.CardFaces {
|
||||||
cardmedia = append(cardmedia, tg.APIInputMediaPhoto{
|
cardmedia = append(cardmedia, tg.APIInputMediaPhoto{
|
||||||
Type: "photo",
|
Type: "photo",
|
||||||
|
|
Loading…
Reference in a new issue