Package org.drinkless.tdlib
Class TdApi.InputInlineQueryResultGame
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputInlineQueryResult
-
- org.drinkless.tdlib.TdApi.InputInlineQueryResultGame
-
- Enclosing class:
- TdApi
public static class TdApi.InputInlineQueryResultGame extends TdApi.InputInlineQueryResult
Represents a game.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringgameShortNameShort name of the game.StringidUnique identifier of the query result.TdApi.ReplyMarkupreplyMarkupThe message reply markup; pass null if none.
-
Constructor Summary
Constructors Constructor Description InputInlineQueryResultGame()Represents a game.InputInlineQueryResultGame(String id, String gameShortName, TdApi.ReplyMarkup replyMarkup)Represents a game.
-
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.
-
gameShortName
public String gameShortName
Short name of the game.
-
replyMarkup
public TdApi.ReplyMarkup replyMarkup
The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputInlineQueryResultGame
public InputInlineQueryResultGame()
Represents a game.
-
InputInlineQueryResultGame
public InputInlineQueryResultGame(String id, String gameShortName, TdApi.ReplyMarkup replyMarkup)
Represents a game.- Parameters:
id- Unique identifier of the query result.gameShortName- Short name of the game.replyMarkup- The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-