InputInlineQueryResultVideo class
Represents a link to a page containing an embedded video player or a video file.
- Inheritance
-
- Object
- TlObject
- InputInlineQueryResult
- InputInlineQueryResultVideo
- Available Extensions
Constructors
- InputInlineQueryResultVideo({required String id, required String title, required String description, required String thumbnail_url, required String video_url, required String mime_type, required int video_width, required int video_height, required int video_duration, ReplyMarkup? reply_markup, required InputMessageContent input_message_content, int? extra, int? clientId})
- Represents a link to a page containing an embedded video player or a video file
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- description ↔ String
-
A short description of the result, if known.
read / write
- 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, inputMessageVideo, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.
read / write
- mime_type ↔ String
-
MIME type of the content of the video URL, only "text/html" or "video/mp4" are currently supported.
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_url ↔ String
-
The URL of the video thumbnail (JPEG), if it exists.
read / write
- title ↔ String
-
Title of the result.
read / write
- video_duration ↔ int
-
Video duration, in seconds.
read / write
- video_height ↔ int
-
Height of the video.
read / write
- video_url ↔ String
-
URL of the embedded video player or video file.
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) → InputInlineQueryResultVideo? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"inputInlineQueryResultVideo"