InputMessagePhoto class

Inheritance

Constructors

InputMessagePhoto({InputFile photo, InputThumbnail thumbnail, List<int> addedStickerFileIds, int width, int height, FormattedText caption, int ttl})
A photo message
InputMessagePhoto.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

addedStickerFileIds List<int>
addedStickerFileIds File identifiers of the stickers added to the photo, if applicable
read / write
caption FormattedText
caption Photo caption; 0-GetOption("message_caption_length_max") characters
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
height Photo height
read / write
photo InputFile
photo Photo to send
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail InputThumbnail
thumbnail Photo thumbnail to be sent, this is sent to the other party in secret chats only
read / write
ttl int
ttl Photo TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats
read / write
width int
width Photo width
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
'inputMessagePhoto'