ChatPhoto class

This object represents a chat photo.

Constructors

ChatPhoto({required String smallFileId, required String smallFileUniqueId, required String bigFileId, required String bigFileUniqueId})
Basic constructor

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.
getter/setter pair
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.
getter/setter pair
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.
getter/setter pair
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.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Creates a json from the object
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) ChatPhoto
Creates a object from a json