Struct actix_telegram::types::InlineQueryResultGif [−][src]
pub struct InlineQueryResultGif { pub type_: String, pub id: String, pub gif_url: String, pub gif_width: Option<Integer>, pub gif_height: Option<Integer>, pub gif_duration: Option<Integer>, pub thumb_url: String, pub title: Option<String>, pub caption: Option<String>, pub parse_mode: Option<String>, pub reply_markup: Option<InlineKeyboardMarkup>, pub input_message_content: Option<InputMessageContent>, }
Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
Fields
type_: String
Type of the result, must be gif
id: String
Unique identifier for this result, 1-64 bytes
gif_url: String
A valid URL for the GIF file. File size must not exceed 1MB
gif_width: Option<Integer>
Width of the GIF
gif_height: Option<Integer>
Height of the GIF
gif_duration: Option<Integer>
Duration of the GIF
thumb_url: String
URL of the static thumbnail for the result (jpeg or gif)
title: Option<String>
Title for the result
Caption of the GIF file to be sent, 0-200 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 the media caption.
reply_markup: Option<InlineKeyboardMarkup>
Inline keyboard attached to the message
input_message_content: Option<InputMessageContent>
Content of the message to be sent instead of the GIF animation
Trait Implementations
impl Debug for InlineQueryResultGif
[src]
impl Debug for InlineQueryResultGif
Auto Trait Implementations
impl Send for InlineQueryResultGif
impl Send for InlineQueryResultGif
impl Sync for InlineQueryResultGif
impl Sync for InlineQueryResultGif