ChatPhoto class
Chat Photo.
ID: 1c6e1c11
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- ChatPhotoBase
- ChatPhoto
Constructors
- ChatPhoto({required bool hasVideo, required int photoId, Uint8List? strippedThumb, required int dcId})
-
Chat Photo constructor.
const
- ChatPhoto.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- dcId → int
-
Dc Id.
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasVideo → bool
-
has_video: bit 0 of flags.0?true
final
- photoId → int
-
Photo Id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strippedThumb → Uint8List?
-
Stripped Thumb.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited