ChatPhoto class
Constructors
-
ChatPhoto({required int id, required int addedDate, Minithumbnail? minithumbnail, required List<
PhotoSize> sizes, AnimatedChatPhoto? animation}) -
Describes a chat or user profile photo
const
-
ChatPhoto.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- addedDate → int
-
addedDate Point in time (Unix timestamp) when the photo has been added
final
- animation → AnimatedChatPhoto?
-
animation Animated variant of the photo in MPEG4 format; may be null
final
- clientId → int?
-
client identifier
no setterinherited
- extra → dynamic
-
callback sign
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
id Unique photo identifier
final
- minithumbnail → Minithumbnail?
-
minithumbnail Photo minithumbnail; may be null
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizes
→ List<
PhotoSize> -
sizes Available variants of the photo in JPEG format, in different size
final
Methods
-
copyWith(
{int? id, int? addedDate, Minithumbnail? minithumbnail, List< PhotoSize> ? sizes, AnimatedChatPhoto? animation}) → ChatPhoto -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → 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