InputMessagePhoto class

Implemented types

Constructors

InputMessagePhoto({dynamic photo, InputThumbnail thumbnail, List<int> addedStickerFileIds, int width, int height, FormattedText caption, int ttl})
A photo message. photo Photo to send . thumbnail Photo thumbnail to be sent, this is sent to the other party in secret chats only . addedStickerFileIds File identifiers of the stickers added to the photo, if applicable . width Photo width . height Photo height . caption Photo caption; 0-GetOption("message_caption_length_max") characters. ttl Photo TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats
InputMessagePhoto.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

addedStickerFileIds List<int>
read / write
caption FormattedText
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
read / write
photo ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail InputThumbnail
read / write
ttl int
read / write
width int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"inputMessagePhoto"