MessagePhoto class

A photo message.

Inheritance
Available Extensions

Constructors

MessagePhoto({required Photo photo, required FormattedText caption, required bool has_spoiler, required bool is_secret, int? extra, int? clientId})
A photo message

Properties

caption FormattedText
Photo caption.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
has_spoiler bool
True, if the photo preview must be covered by a spoiler animation.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
is_secret bool
True, if the photo must be blurred and must be shown only while tapped.
read / write
photo Photo
The photo.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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) MessagePhoto?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"messagePhoto"