Package org.drinkless.tdlib
Class TdApi.InlineQueryResultVoiceNote
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InlineQueryResult
-
- org.drinkless.tdlib.TdApi.InlineQueryResultVoiceNote
-
- Enclosing class:
- TdApi
public static class TdApi.InlineQueryResultVoiceNote extends TdApi.InlineQueryResult
Represents a voice note.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringidUnique identifier of the query result.StringtitleTitle of the voice note.TdApi.VoiceNotevoiceNoteVoice note.
-
Constructor Summary
Constructors Constructor Description InlineQueryResultVoiceNote()Represents a voice note.InlineQueryResultVoiceNote(String id, TdApi.VoiceNote voiceNote, String title)Represents a voice note.
-
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.
-
voiceNote
public TdApi.VoiceNote voiceNote
Voice note.
-
title
public String title
Title of the voice note.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineQueryResultVoiceNote
public InlineQueryResultVoiceNote()
Represents a voice note.
-
InlineQueryResultVoiceNote
public InlineQueryResultVoiceNote(String id, TdApi.VoiceNote voiceNote, String title)
Represents a voice note.- Parameters:
id- Unique identifier of the query result.voiceNote- Voice note.title- Title of the voice note.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-