InputInlineQueryResultPhoto class

Inheritance

Constructors

InputInlineQueryResultPhoto({String id, String title, String description, String thumbnailUrl, String photoUrl, int photoWidth, int photoHeight, ReplyMarkup replyMarkup, InputMessageContent inputMessageContent})
Represents link to a JPEG image
InputInlineQueryResultPhoto.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

description String
description A short description of the result, if known
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
id Unique identifier of the query result
read / write
inputMessageContent InputMessageContent
inputMessageContent The content of the message to be sent. Must be one of the following types: InputMessageText, InputMessagePhoto, InputMessageLocation, InputMessageVenue or InputMessageContact
read / write
photoHeight int
photoHeight Height of the photo
read / write
photoUrl String
photoUrl The URL of the JPEG photo (photo size must not exceed 5MB)
read / write
photoWidth int
photoWidth Width of the photo
read / write
replyMarkup ReplyMarkup
replyMarkup The message reply markup. Must be of type replyMarkupInlineKeyboard or null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnailUrl String
thumbnailUrl URL of the photo thumbnail, if it exists
read / write
title String
title Title of the result, if known
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'inputInlineQueryResultPhoto'