Fix unsplash using old SendPhoto api
This commit is contained in:
parent
e79b1fe871
commit
3b3fbbac26
1 changed files with 1 additions and 1 deletions
|
@ -175,6 +175,6 @@ func unsplash(broker *tg.Broker, update tg.APIMessage) {
|
||||||
broker.SendTextMessage(update.Chat, "<b>ERRORE!</b> @hamcha controlla la console!", &update.MessageID)
|
broker.SendTextMessage(update.Chat, "<b>ERRORE!</b> @hamcha controlla la console!", &update.MessageID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
broker.SendPhoto(update.Chat, buf.Bytes(), "quote.jpg", nil, &update.MessageID)
|
broker.SendPhoto(update.Chat, buf.Bytes(), "quote.jpg", "", &update.MessageID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue