Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/tl/mod.ts>Api.DocumentAttributeAudio

MTProto API Client for Deno 🦕
Go to Latest
class Api.DocumentAttributeAudio
extends VirtualClass<{ voice?: boolean; duration: int; title?: string; performer?: string; waveform?: bytes; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { DocumentAttributeAudio } = Api;

Properties

className: "DocumentAttributeAudio"
classType: "constructor"
CONSTRUCTOR_ID: 2555574726
duration: int
optional
performer: string
SUBCLASS_OF_ID: 4146719643
optional
title: string
optional
voice: boolean
optional
waveform: bytes

Static Methods

fromReader(reader: Reader): DocumentAttributeAudio