SendVoiceMethod

Method to send audio files that are treated as a playable voice messages

Members

Variables

caption
string caption;

Voice message caption

chat_id
TelegramID chat_id;

Unique identifier for the target chat or username of the target channel (in the format "@channelusername")

disable_notification
bool disable_notification;

Send the message silently

duration
Duration duration;

Duration of the voice message

parse_mode
ParseMode parse_mode;

Parse mode of the caption

reply_markup
ReplyMarkup reply_markup;

Additional interface options

reply_to_message_id
int reply_to_message_id;

If the message is a reply, ID of the original message

voice
string voice;

Audio file to send

See Also

Meta