Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DocumentAttributeAudio

Hierarchy

  • VirtualClass<{ voice?: boolean; duration: int; title?: string; performer?: string; waveform?: bytes }>
    • DocumentAttributeAudio

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { voice?: boolean; duration: number; title?: string; performer?: string; waveform?: Buffer }

Type declaration

  • Optional voice?: boolean
  • duration: number
  • Optional title?: string
  • Optional performer?: string
  • Optional waveform?: Buffer
CONSTRUCTOR_ID: 2555574726
SUBCLASS_OF_ID: 4146719643
classType: "constructor"
className: "DocumentAttributeAudio"
voice?: boolean
duration: number
title?: string
performer?: string
waveform?: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { voice?: boolean; duration: number; title?: string; performer?: string; waveform?: Buffer }
  • Returns { voice?: boolean; duration: number; title?: string; performer?: string; waveform?: Buffer }

    • Optional voice?: boolean
    • duration: number
    • Optional title?: string
    • Optional performer?: string
    • Optional waveform?: Buffer

Constructors

  • new DocumentAttributeAudio(args: { voice?: boolean; duration: number; title?: string; performer?: string; waveform?: Buffer }): DocumentAttributeAudio

Generated using TypeDoc