Module tdlight.api

Class TdApi.PushMessageContentGame

Enclosing class:
TdApi

public static class TdApi.PushMessageContentGame extends TdApi.PushMessageContent
A message with a game.
  • Field Details

    • title

      public String title
      Game title, empty for pinned game message.
    • isPinned

      public boolean isPinned
      True, if the message is a pinned message with the specified content.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PushMessageContentGame

      public PushMessageContentGame()
      A message with a game.
    • PushMessageContentGame

      public PushMessageContentGame(String title, boolean isPinned)
      A message with a game.
      Parameters:
      title - String Game title, empty for pinned game message.
      isPinned - boolean True, if the message is a pinned message with the specified content.
    • PushMessageContentGame

      public PushMessageContentGame(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details