public static class TdApi.Voice extends TdApi.TLObject
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining TL-type of object
|
int |
duration
Duration of the voice record in seconds as defined by sender.
|
java.lang.String |
mimeType
MIME type of a file as defined by sender.
|
TdApi.File |
voice
File with the voice record.
|
byte[] |
waveform
Waveform representation of the voice in 5-bit format.
|
Constructor and Description |
---|
Voice()
Default constructor.
|
Voice(int duration,
byte[] waveform,
java.lang.String mimeType,
TdApi.File voice)
Constructor for initialization of all fields.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int duration
public byte[] waveform
public java.lang.String mimeType
public TdApi.File voice
public static final int CONSTRUCTOR
public Voice()
public Voice(int duration, byte[] waveform, java.lang.String mimeType, TdApi.File voice)
public int getConstructor()
getConstructor
in class TdApi.TLObject