InputMediaUploadedDocument class

Input Media Uploaded Document.

ID: 5b38c6c1.

Inheritance

Constructors

InputMediaUploadedDocument({required bool nosoundVideo, required bool forceFile, required bool spoiler, required InputFileBase file, InputFileBase? thumb, required String mimeType, required List<DocumentAttributeBase> attributes, List<InputDocumentBase>? stickers, int? ttlSeconds})
Input Media Uploaded Document constructor.
const
InputMediaUploadedDocument.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

attributes List<DocumentAttributeBase>
Attributes.
final
file InputFileBase
File.
final
flags int
Flags.
no setter
forceFile bool
force_file: bit 4 of flags.4?true
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String
Mime Type.
final
nosoundVideo bool
nosound_video: bit 3 of flags.3?true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spoiler bool
spoiler: bit 5 of flags.5?true
final
stickers List<InputDocumentBase>?
Stickers.
final
thumb InputFileBase?
Thumb.
final
ttlSeconds int?
Ttl Seconds.
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