ChatPhoto class

This object represents a chat photo.

Constructors

ChatPhoto({required String smallFileId, required String smallFileUniqueId, required String bigFileId, required String bigFileUniqueId})
Creates a new ChatPhoto object.
const
ChatPhoto.fromJson(Map<String, dynamic> json)
Creates a new ChatPhoto object from json.
factory

Properties

bigFileId String
File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.
final
bigFileUniqueId String
Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallFileId String
File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.
final
smallFileUniqueId String
Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a ChatPhoto to a Map for JSON encoding.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited