InlineQueryResultCachedMpeg4Gif

data class InlineQueryResultCachedMpeg4Gif(type: String, id: String, mpeg4_file_id: 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) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

Constructors

InlineQueryResultCachedMpeg4Gif
Link copied to clipboard
fun InlineQueryResultCachedMpeg4Gif(type: String, id: String, mpeg4_file_id: String, 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_file_id
Link copied to clipboard
val mpeg4_file_id: String
A valid file identifier for the MP4 file
parse_mode
Link copied to clipboard
val parse_mode: ParseMode? = null
Optional.
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
Optional.
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