Mention animated GIFs must be sent as document in NewPhotoUpload.

pull/36/head
Syfaro 10 years ago
parent f2b36838e6
commit a7f8b9c291
  1. 2
      helpers.go

@ -34,6 +34,8 @@ func NewForward(chatID int, fromChatID int, messageID int) ForwardConfig {
//
// chatID is where to send it, file is a string path to the file,
// FileReader, or FileBytes.
//
// Note that you must send animated GIFs as a document.
func NewPhotoUpload(chatID int, file interface{}) PhotoConfig {
return PhotoConfig{
BaseFile: BaseFile{