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.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InputInlineQueryResult

  `TdApi.InputInlineQueryResult.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `String`
  `gameShortName`
  Short name of the game.
  `String`
  `id`
  Unique identifier of the query result.
  `TdApi.ReplyMarkup`
  `replyMarkup`
  The 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

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### 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 Details

  - ### 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 Details

  - ### getConstructor

    public int getConstructor()
    Description copied from class: `TdApi.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.InputInlineQueryResult`
    Returns:
      this.CONSTRUCTOR