mention encodeaudio function on sendaudio function
parent
b92bbece9f
commit
d54197d756
|
@ -375,6 +375,7 @@ func (bot *BotAPI) SendPhoto(config PhotoConfig) (Message, error) {
|
||||||
|
|
||||||
// SendAudio sends or uploads an audio clip to a chat.
|
// SendAudio sends or uploads an audio clip to a chat.
|
||||||
// If using a file, the file must be encoded as an .ogg with OPUS.
|
// 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.
|
// Requires ChatID and FileID OR FilePath.
|
||||||
// ReplyToMessageID and ReplyMarkup are optional.
|
// ReplyToMessageID and ReplyMarkup are optional.
|
||||||
|
|
Loading…
Reference in New Issue