Fix unsplash using old SendPhoto api

This commit is contained in:
Hamcha 2016-09-01 14:07:38 +02:00
parent e79b1fe871
commit 3b3fbbac26
1 changed files with 1 additions and 1 deletions

View File

@ -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)
return
}
broker.SendPhoto(update.Chat, buf.Bytes(), "quote.jpg", nil, &update.MessageID)
broker.SendPhoto(update.Chat, buf.Bytes(), "quote.jpg", "", &update.MessageID)
}
}