documentAttributeAudio
Signature
Section titled “Signature”documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;Result type
Section titled “Result type”DocumentAttribute
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| voice | flags.10?true | flags.10 | — | |
| duration | int | — | — | |
| title | flags.0?string | flags.0 | — | |
| performer | flags.1?string | flags.1 | — | |
| waveform | flags.2?bytes | flags.2 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| voice | 10 | Controlled by flags; present when this bit is set. |
| title | 0 | Controlled by flags; present when this bit is set. |
| performer | 1 | Controlled by flags; present when this bit is set. |
| waveform | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import DocumentAttributeAudioPublic access: miniproto.raw.types.DocumentAttributeAudio.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
DocumentAttribute - Related constructors:
documentAttributeAnimated,documentAttributeCustomEmoji,documentAttributeFilename,documentAttributeHasStickers,documentAttributeImageSize,documentAttributeSticker,documentAttributeVideo - Accepted by:
document,inputMediaUploadedDocument,inputWebDocument,webDocument,webDocumentNoProxy