Struct telegram_typings::InputTextMessageContent
[−]
[src]
pub struct InputTextMessageContent { pub message_text: String, pub parse_mode: Option<String>, pub disable_web_page_preview: Option<bool>, }
Represents the content of a text message to be sent as the result of an inline query. See https://core.telegram.org/bots/api#inputmessagecontent
Fields
message_text: String
Text of the message to be sent, 1-4096 characters
parse_mode: Option<String>
Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message. See https://core.telegram.org/bots/api#markdown-style See https://core.telegram.org/bots/api#html-style See https://core.telegram.org/bots/api#formatting-options
disable_web_page_preview: Option<bool>
Disables link previews for links in the sent message
Trait Implementations
impl Debug for InputTextMessageContent
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for InputTextMessageContent
[src]
fn clone(&self) -> InputTextMessageContent
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more