Integer or String Unique identifier for the target chat or username of the target channel (in the format @channelusername)
InputFile or String Audio file to send. Audio file to send. Pass a file_id as String to send an audio file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an audio file from the Internet, or upload a new one using multipart/form-data.
Integer Optional Duration of the audio in seconds
String Optional Audio caption, 0-200 characters
String Optional Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
String Optional Performer
String Optional Track name
Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
Integer Optional If the message is a reply, ID of the original message
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.
InputFile or String Audio file to send.
InputFile or String Audio file to send. Audio file to send. Pass a file_id as String to send an audio file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an audio file from the Internet, or upload a new one using multipart/form-data.
String Optional Audio caption, 0-200 characters
Integer or String Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Boolean Optional Sends the message silently.
Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
Integer Optional Duration of the audio in seconds
Extract request URL from class name.
Extract request URL from class name.
String Optional Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
String Optional Performer
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options.
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.
Integer Optional If the message is a reply, ID of the original message
String Optional Track name
Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .mp3 format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
For sending voice messages, use the sendVoice method instead.
Integer or String Unique identifier for the target chat or username of the target channel (in the format @channelusername)
InputFile or String Audio file to send. Audio file to send. Pass a file_id as String to send an audio file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an audio file from the Internet, or upload a new one using multipart/form-data.
Integer Optional Duration of the audio in seconds
String Optional Audio caption, 0-200 characters
String Optional Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
String Optional Performer
String Optional Track name
Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
Integer Optional If the message is a reply, ID of the original message
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.