ChatPhoto class

Describes a chat or user profile photo.

Inheritance
Available Extensions

Constructors

ChatPhoto({required int64 id, required int added_date, Minithumbnail? minithumbnail, required List<PhotoSize> sizes, AnimatedChatPhoto? animation, AnimatedChatPhoto? small_animation, ChatPhotoSticker? sticker, int? extra, int? clientId})
Describes a chat or user profile photo

Properties

added_date ↔ int
Point in time (Unix timestamp) when the photo has been added.
read / write
animation ↔ AnimatedChatPhoto?
A big (up to 1280x1280) animated variant of the photo in MPEG4 format; may be null.
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
hashCode → int
The hash code for this object.
read-onlyinherited
id ↔ int64
Unique photo identifier. ; string representation of int, use int.parse
read / write
minithumbnail ↔ Minithumbnail?
Photo minithumbnail; may be null.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
sizes ↔ List<PhotoSize>
Available variants of the photo in JPEG format, in different size.
read / write
small_animation ↔ AnimatedChatPhoto?
A small (160x160) animated variant of the photo in MPEG4 format; may be null even the big animation is available.
read / write
sticker ↔ ChatPhotoSticker?
Sticker-based version of the chat photo; may be null.
read / write

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

Constants

CONSTRUCTOR → const String
@type
"chatPhoto"