all repos — telegram-bot-api @ d54197d756fb2036833c1d50c63a9be81a66c79b

Golang bindings for the Telegram Bot API

mention encodeaudio function on sendaudio function
Syfaro syfaro@foxpaw.in
Mon, 10 Aug 2015 16:02:29 -0500
commit

d54197d756fb2036833c1d50c63a9be81a66c79b

parent

b92bbece9f8dad977b986a5c9ac2b5302ab6ca00

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M methods.gomethods.go

@@ -375,6 +375,7 @@ }

// SendAudio sends or uploads an audio clip to a chat. // If using a file, the file must be encoded as an .ogg with OPUS. +// You may use the tgutils.EncodeAudio func to assist you with this, if needed. // // Requires ChatID and FileID OR FilePath. // ReplyToMessageID and ReplyMarkup are optional.