InputInlineQueryResultAnimation class
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
- Inheritance
-
- Object
- TlObject
- InputInlineQueryResult
- InputInlineQueryResultAnimation
- Available Extensions
Constructors
- InputInlineQueryResultAnimation({required String id, required String title, required String thumbnail_url, required String thumbnail_mime_type, required String video_url, required String video_mime_type, required int video_duration, required int video_width, required int video_height, ReplyMarkup? reply_markup, required InputMessageContent input_message_content, int? extra, int? clientId})
- Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ String
-
Unique identifier of the query result.
read / write
- 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.
read / write
- reply_markup ↔ ReplyMarkup?
-
The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- thumbnail_mime_type ↔ String
-
MIME type of the video thumbnail. If non-empty, must be one of "image/jpeg", "image/gif" and "video/mp4".
read / write
- thumbnail_url ↔ String
-
URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists.
read / write
- title ↔ String
-
Title of the query result.
read / write
- video_duration ↔ int
-
Duration of the video, in seconds.
read / write
- video_height ↔ int
-
Height of the video.
read / write
- video_mime_type ↔ String
-
MIME type of the video file. Must be one of "image/gif" and "video/mp4".
read / write
- video_url ↔ String
-
The URL of the video file (file size must not exceed 1MB).
read / write
- video_width ↔ int
-
Width of the video.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → InputInlineQueryResultAnimation? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"inputInlineQueryResultAnimation"