ChatPhotoInfo class
Contains basic information about the photo of a chat.
- Inheritance
- Available Extensions
Constructors
- ChatPhotoInfo({required File small, required File big, Minithumbnail? minithumbnail, required bool has_animation, required bool is_personal, int? extra, int? clientId})
- Contains basic information about the photo of a chat
Properties
- big ↔ File
-
A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
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_animation ↔ bool
-
True, if the photo has animated variant.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_personal ↔ bool
-
True, if the photo is visible only for the current user.
read / write
- minithumbnail ↔ Minithumbnail?
-
Chat photo minithumbnail; may be null.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- small ↔ File
-
A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
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) → ChatPhotoInfo? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"chatPhotoInfo"