InlineQueryResultMpeg4Gif

data class InlineQueryResultMpeg4Gif(type: String, id: String, mpeg4_url: String, mpeg4_width: Long?, mpeg4_height: Long?, mpeg4_duration: Long?, thumb_url: String, thumb_mime_type: String?, title: String?, caption: String?, parse_mode: ParseMode?, caption_entities: List<MessageEntity>?, reply_markup: InlineKeyboardMarkup?, input_message_content: InputMessageContent?) : InlineQueryResult

Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 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.

Constructors

InlineQueryResultMpeg4Gif
Link copied to clipboard
fun InlineQueryResultMpeg4Gif(type: String, id: String, mpeg4_url: String, mpeg4_width: Long? = null, mpeg4_height: Long? = null, mpeg4_duration: Long? = null, thumb_url: String, thumb_mime_type: String? = null, title: String? = null, caption: String? = null, parse_mode: ParseMode? = null, caption_entities: List<MessageEntity>? = null, reply_markup: InlineKeyboardMarkup? = null, input_message_content: InputMessageContent? = null)

Properties

caption
Link copied to clipboard
val caption: String? = null
Optional.
caption_entities
Link copied to clipboard
val caption_entities: List<MessageEntity>? = null
Optional.
id
Link copied to clipboard
val id: String
Unique identifier for this result, 1-64 bytes
input_message_content
Link copied to clipboard
val input_message_content: InputMessageContent? = null
Optional.
mpeg4_duration
Link copied to clipboard
val mpeg4_duration: Long? = null
Optional.
mpeg4_height
Link copied to clipboard
val mpeg4_height: Long? = null
Optional.
mpeg4_url
Link copied to clipboard
val mpeg4_url: String
A valid URL for the MP4 file.
mpeg4_width
Link copied to clipboard
val mpeg4_width: Long? = null
Optional.
parse_mode
Link copied to clipboard
val parse_mode: ParseMode? = null
Optional.
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
Optional.
thumb_mime_type
Link copied to clipboard
val thumb_mime_type: String? = null
Optional.
thumb_url
Link copied to clipboard
val thumb_url: String
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result
title
Link copied to clipboard
val title: String? = null
Optional.
type
Link copied to clipboard
val type: String
Type of the result, must be mpeg4_gif