Package org.drinkless.tdlib
Class TdApi.InlineQueryResultAudio
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InlineQueryResult
-
- org.drinkless.tdlib.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.AudioaudioAudio file.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringidUnique identifier of the query result.
-
Constructor Summary
Constructors Constructor Description InlineQueryResultAudio()Represents an audio file.InlineQueryResultAudio(String id, TdApi.Audio audio)Represents an audio file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public String id
Unique identifier of the query result.
-
audio
public TdApi.Audio audio
Audio file.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineQueryResultAudio
public InlineQueryResultAudio()
Represents an audio file.
-
InlineQueryResultAudio
public InlineQueryResultAudio(String id, TdApi.Audio audio)
Represents an audio file.- Parameters:
id- Unique identifier of the query result.audio- Audio file.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-