ChatPhoto class

This object represents a chat photo.

https://core.telegram.org/bots/api#chatphoto

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

ChatPhoto({String? smallFileID, String? smallFileUniqueID, String? bigFileID, String? bigFileUniqueID})
ChatPhoto.fromJson(Map<String, dynamic> 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.
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<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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