InputInlineQueryResultAnimation class

Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video

Inheritance

Constructors

InputInlineQueryResultAnimation({String? extra, int? client_id, string? id, string? title, string? thumbnail_url, string? thumbnail_mime_type, string? video_url, string? video_mime_type, int32? video_duration, int32? video_width, int32? video_height, ReplyMarkup? reply_markup, InputMessageContent? input_message_content})
InputInlineQueryResultAnimation.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id string?
Unique identifier of the query result
getter/setter pair
input_message_content InputMessageContent?
The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact
getter/setter pair
reply_markup ReplyMarkup?
The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride
thumbnail_mime_type string?
MIME type of the video thumbnail. If non-empty, must be one of "image/jpeg", "image/gif" and "video/mp4"
getter/setter pair
thumbnail_url string?
URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
getter/setter pair
title string?
Title of the query result
getter/setter pair
video_duration int32?
Duration of the video, in seconds
getter/setter pair
video_height int32?
Height of the video
getter/setter pair
video_mime_type string?
MIME type of the video file. Must be one of "image/gif" and "video/mp4"
getter/setter pair
video_url string?
The URL of the video file (file size must not exceed 1MB)
getter/setter pair
video_width int32?
Width of the video
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited