InputMessageDocument class

A document message (general file).

Inheritance
Available Extensions

Constructors

InputMessageDocument({required InputFile document, InputThumbnail? thumbnail, required bool disable_content_type_detection, FormattedText? caption, int? extra, int? clientId})
A document message (general file)

Properties

caption ↔ FormattedText?
Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
disable_content_type_detection ↔ bool
If true, automatic file type detection will be disabled and the document will always be sent as file. Always true for files sent to secret chats.
read / write
document ↔ InputFile
Document to be sent.
read / write
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
thumbnail ↔ InputThumbnail?
Document thumbnail; pass null to skip thumbnail uploading.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) → InputMessageDocument?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputMessageDocument"