pub struct SendAudioBuilder<'a, F: InputFile> {Show 14 fields
pub business_connection_id: Option<String>,
pub chat_id: i64,
pub message_thread_id: Option<i64>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub duration: Option<i64>,
pub performer: Option<String>,
pub title: Option<String>,
pub disable_notification: Option<bool>,
pub protect_content: Option<bool>,
pub message_effect_id: Option<String>,
pub reply_parameters: Option<ReplyParameters>,
pub reply_markup: Option<InlineKeyboardMarkup>,
/* private fields */
}Fields§
§business_connection_id: Option<String>Unique identifier of the business connection on behalf of which the message will be sent
chat_id: i64Unique identifier for the target chat or username of the target channel (in the format @channelusername)
message_thread_id: Option<i64>Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
caption: Option<String>Audio caption, 0-1024 characters after entities parsing
parse_mode: Option<String>Mode for parsing entities in the audio caption. See formatting options for more details.
caption_entities: Option<Vec<MessageEntity>>A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
duration: Option<i64>Duration of the audio in seconds
performer: Option<String>Performer
title: Option<String>Track name
disable_notification: Option<bool>Sends the message silently. Users will receive a notification with no sound.
protect_content: Option<bool>Protects the contents of the sent message from forwarding and saving
message_effect_id: Option<String>Unique identifier of the message effect to be added to the message; for private chats only
reply_parameters: Option<ReplyParameters>Description of the message to reply to
reply_markup: Option<InlineKeyboardMarkup>Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user