Package it.tdlight.jni
Class TdApi.InlineQueryResultAudio
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineQueryResult
it.tdlight.jni.TdApi.InlineQueryResultAudio
- Enclosing class:
- TdApi
public static class TdApi.InlineQueryResultAudio extends TdApi.InlineQueryResult
Represents an audio file.
-
Field Summary
Fields Modifier and Type Field Description TdApi.Audio
audio
Audio file.static int
CONSTRUCTOR
String
id
Unique identifier of the query result. -
Constructor Summary
Constructors Constructor Description InlineQueryResultAudio()
Represents an audio file.InlineQueryResultAudio(DataInput input)
InlineQueryResultAudio(String id, TdApi.Audio audio)
Represents an audio file. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
Unique identifier of the query result. -
audio
Audio file. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InlineQueryResultAudio
public InlineQueryResultAudio()Represents an audio file. -
InlineQueryResultAudio
Represents an audio file.- Parameters:
id
- String Unique identifier of the query result.audio
- Audio Audio file.
-
InlineQueryResultAudio
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-