Actually, albums are fine.

This commit is contained in:
Hamcha 2018-12-13 12:15:54 +01:00
parent 0cf05628b7
commit a181114c61
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func webhook(update tg.APIUpdate) {
if err != nil {
errlist = append(errlist, cardname)
} else {
if card.ImageUris.Large == "" && card.CardFaces != nil {
if card.CardFaces != nil {
for _, cardface := range card.CardFaces {
cardmedia = append(cardmedia, tg.APIInputMediaPhoto{
Type: "photo",