InputInlineQueryResultDocument class

Represents a link to a file.

Inheritance
Available Extensions

Constructors

InputInlineQueryResultDocument({required String id, required String title, required String description, required String document_url, required String mime_type, required String thumbnail_url, required int thumbnail_width, required int thumbnail_height, ReplyMarkup? reply_markup, required InputMessageContent input_message_content, int? extra, int? clientId})
Represents a link to a file

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
description String
Short description of the result, if known.
read / write
document_url String
URL of the file.
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, inputMessageDocument, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.
read / write
mime_type String
MIME type of the file content; only "application/pdf" and "application/zip" are currently allowed.
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_height int
Height of the thumbnail.
read / write
thumbnail_url String
The URL of the file thumbnail, if it exists.
read / write
thumbnail_width int
Width of the thumbnail.
read / write
title String
Title of the resulting file.
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) InputInlineQueryResultDocument?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputInlineQueryResultDocument"