From a7f8b9c291f7816641369eef61b937e1b3ef3e8b Mon Sep 17 00:00:00 2001 From: Syfaro Date: Fri, 8 Jan 2016 09:16:47 -0600 Subject: [PATCH] Mention animated GIFs must be sent as document in NewPhotoUpload. --- helpers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers.go b/helpers.go index 4923104..bb9dc1a 100644 --- a/helpers.go +++ b/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{