Module tdlight.api

Class TdApi.InputMessageGame

Enclosing class:
TdApi

public static final 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
      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 - long User identifier of the bot that owns the game.
      gameShortName - String Short name of the game.
    • InputMessageGame

      public InputMessageGame(DataInput input) throws IOException
      A message with a game; not supported for channels or secret chats.
      Throws:
      IOException
  • Method Details