ChatPhoto class

Inheritance

Constructors

ChatPhoto({int id, int addedDate, Minithumbnail minithumbnail, List<PhotoSize> sizes, AnimatedChatPhoto animation})
Describes a chat or user profile photo
ChatPhoto.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

addedDate int
addedDate Point in time (Unix timestamp) when the photo has been added
read / write
animation AnimatedChatPhoto
animation Animated variant of the photo in MPEG4 format; may be null
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
id Unique photo identifier
read / write
minithumbnail Minithumbnail
minithumbnail Photo minithumbnail; may be null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sizes List<PhotoSize>
sizes Available variants of the photo in JPEG format, in different size
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
'chatPhoto'