• Twitter
  • Home
  • FAQ
  • Apps
  • API
  • Protocol
  • Schema
  • API
  • TL-schema
  • documentAttributeAudio

documentAttributeAudio

Represents an audio file

  • Layer 105
    • 1 – Base layer
    • 2 – New userpic notifications
    • 3 – Send message can trigger link change
    • 4 – Check-in chats
    • 5 – Localized SMS, localized notifications
    • 6 – Foursquare integration
    • 7 – Added wallPaperSolid
    • 8 – Added end-to-end encryption
    • 9 – Improved big files upload perfomance
    • 10 – Improved chat participants updates
    • 11 – Improved secret chats
    • 12 – New dynamic support
    • 13 – Audio, video MIME; contacts import retry; new secret actions
    • 14 – Notify settings sync, blacklist sync
    • 15 – Modified getHistory offset behaviour
    • 16 – Split sendCode into 2 parts
    • 17 – Added custom typing, introduced message flags
    • 18 – Added usernames
    • 23 – Stickers for secret chats
    • 105 – Scheduled messages, Cloud themes
    • More...
documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
voice flags.10?true Whether this is a voice message
duration int Duration in seconds
title flags.0?string Name of song
performer flags.1?string Performer
waveform flags.2?bytes Waveform

Type

DocumentAttribute

Telegram
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
About
  • FAQ
  • Blog
  • Jobs
Mobile Apps
  • iPhone/iPad
  • Android
  • Windows Phone
Desktop Apps
  • PC/Mac/Linux
  • macOS
  • Web-browser
Platform
  • API
  • Translations
  • Instant View
About
Blog
Apps
Platform
Twitter