Class TdApi.InputMessageGame

Enclosing class:
TdApi

public static class TdApi.InputMessageGame extends TdApi.InputMessageContent
A message with a game; not supported for channels or secret chats.
  • Field Details

    • botUserId

      public long botUserId
      User identifier of the bot that owns the game.
    • gameShortName

      public String gameShortName
      Short name of the game.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InputMessageGame

      public InputMessageGame()
      A message with a game; not supported for channels or secret chats.
    • InputMessageGame

      public InputMessageGame(long botUserId, String gameShortName)
      A message with a game; not supported for channels or secret chats.
      Parameters:
      botUserId - User identifier of the bot that owns the game.
      gameShortName - Short name of the game.
  • Method Details