InputMediaUploadedPhoto class

Input Media Uploaded Photo.

ID: 7d8375da.

Inheritance

Constructors

InputMediaUploadedPhoto({required bool spoiler, required bool livePhoto, required InputFileBase file, List<InputDocumentBase>? stickers, int? ttlSeconds, InputDocumentBase? video})
Input Media Uploaded Photo constructor.
const
InputMediaUploadedPhoto.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

file → InputFileBase
File.
final
flags → int
Flags.
no setter
hashCode → int
The hash code for this object.
no setterinherited
livePhoto → bool
live_photo: bit 3 of flags.3?true
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spoiler → bool
spoiler: bit 2 of flags.2?true
final
stickers → List<InputDocumentBase>?
Stickers.
final
ttlSeconds → int?
Ttl Seconds.
final
video → InputDocumentBase?
Video.
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