teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
DocumentAttributeAudio
Class DocumentAttributeAudio
Hierarchy (
View Summary
)
VirtualClass
<
{
duration
:
int
;
performer
?:
string
;
title
?:
string
;
voice
?:
boolean
;
waveform
?:
bytes
;
}
,
>
DocumentAttributeAudio
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
duration
original
Args
performer?
SUBCLASS_
OF_
ID
title?
voice?
waveform?
Constructors
constructor
new
DocumentAttributeAudio
(
args
:
{
duration
:
number
;
performer
?:
string
;
title
?:
string
;
voice
?:
boolean
;
waveform
?:
bytes
;
}
,
)
:
DocumentAttributeAudio
Parameters
args
:
{
duration
:
number
;
performer
?:
string
;
title
?:
string
;
voice
?:
boolean
;
waveform
?:
bytes
;
}
Returns
DocumentAttributeAudio
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
DocumentAttributeAudio
Parameters
reader
:
any
Returns
DocumentAttributeAudio
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
duration
:
number
;
performer
?:
string
;
title
?:
string
;
voice
?:
boolean
;
waveform
?:
bytes
;
}
Returns
{
duration
:
number
;
performer
?:
string
;
title
?:
string
;
voice
?:
boolean
;
waveform
?:
bytes
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"DocumentAttributeAudio"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2555574726
duration
duration
:
number
original
Args
originalArgs
:
{
duration
:
number
;
performer
?:
string
;
title
?:
string
;
voice
?:
boolean
;
waveform
?:
bytes
;
}
Optional
performer
performer
?:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
4146719643
Optional
title
title
?:
string
Optional
voice
voice
?:
boolean
Optional
waveform
waveform
?:
bytes
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
duration
original
Args
performer
SUBCLASS_
OF_
ID
title
voice
waveform
GitHub
npm
Issues
teleproto - v1.229.0
Loading...