Class TdApi.PreparedInlineMessageId

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PreparedInlineMessageId
Enclosing class:
TdApi

public static class TdApi.PreparedInlineMessageId extends TdApi.Object
Represents an inline message that can be sent via the bot.
  • Field Details

    • id

      public String id
      Unique identifier for the message.
    • expirationDate

      public int expirationDate
      Point in time (Unix timestamp) when the message can't be used anymore.
    • CONSTRUCTOR

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

    • PreparedInlineMessageId

      public PreparedInlineMessageId()
      Represents an inline message that can be sent via the bot.
    • PreparedInlineMessageId

      public PreparedInlineMessageId(String id, int expirationDate)
      Represents an inline message that can be sent via the bot.
      Parameters:
      id - Unique identifier for the message.
      expirationDate - Point in time (Unix timestamp) when the message can't be used anymore.
  • 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.Object
      Returns:
      this.CONSTRUCTOR