InputInlineQueryResultPhoto class

Represents link to a JPEG image.

Inheritance
Available Extensions

Constructors

InputInlineQueryResultPhoto({required String id, required String title, required String description, required String thumbnail_url, required String photo_url, required int photo_width, required int photo_height, ReplyMarkup? reply_markup, required InputMessageContent input_message_content, int? extra, int? clientId})
Represents link to a JPEG image

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, inputMessagePhoto, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.
read / write
photo_height int
Height of the photo.
read / write
photo_url String
The URL of the JPEG photo (photo size must not exceed 5MB).
read / write
photo_width int
Width of the photo.
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
URL of the photo thumbnail, if it exists.
read / write
title String
Title of the result, if known.
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) InputInlineQueryResultPhoto?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputInlineQueryResultPhoto"