InputMediaDocument class
Input Media Document.
ID: 33473058
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- InputMediaBase
- InputMediaDocument
Constructors
- InputMediaDocument({required bool spoiler, required InputDocumentBase id, int? ttlSeconds, String? query})
-
Input Media Document constructor.
const
- InputMediaDocument.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → InputDocumentBase
-
Id.
final
- query → String?
-
Query.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spoiler → bool
-
spoiler: bit 2 of flags.2?true
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