DocumentAttributeAudio class
Document Attribute Audio.
ID: 9852f9c6
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- DocumentAttributeBase
- DocumentAttributeAudio
Constructors
- DocumentAttributeAudio({required bool voice, required int duration, String? title, String? performer, Uint8List? waveform})
-
Document Attribute Audio constructor.
const
- DocumentAttributeAudio.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- duration → int
-
Duration.
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- performer → String?
-
Performer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
Title.
final
- voice → bool
-
voice: bit 10 of flags.10?true
final
- waveform → Uint8List?
-
Waveform.
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