- chat_id
Unique identifier for the target chat or username of
the target channel.
- voice
Voice file to send. Pass a file_id as String to send a voice
file that exists on the Telegram servers (recommended), pass an HTTP URL
as a String for Telegram to get a voice file from the Internet, or
upload a local voice file file by passing a file path.
- duration
(Optional). Duration of sent audio in seconds.
- caption
(Optional). Voice message caption, 0-1024 characters.
- disable_notification
(Optional). Sends the message silently. Users
will receive a notification with no sound.
- reply_to_message_id
(Optional). If the message is a reply, ID of the
original message.
- reply_markup
(Optional). A Reply Markup parameter object, it can be
either:
ReplyKeyboardMarkup
InlineKeyboardMarkup
ReplyKeyboardRemove
ForceReply
- parse_mode
(Optional). Send 'Markdown' or 'HTML', if you want
Telegram apps to show bold, italic, fixed-width text or inline URLs in
your bot's message.