Class TdApi.MessageSuggestedPostApproved

Enclosing class:
TdApi

public static class TdApi.MessageSuggestedPostApproved extends TdApi.MessageContent
A suggested post was approved.
  • Field Details

    • suggestedPostMessageId

      public long suggestedPostMessageId
      Identifier of the message with the suggested post; can be 0 if the message was deleted.
    • price

      Price of the suggested post; may be null if the post is non-paid.
    • sendDate

      public int sendDate
      Point in time (Unix timestamp) when the post is expected to be published.
    • CONSTRUCTOR

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

    • MessageSuggestedPostApproved

      public MessageSuggestedPostApproved()
      A suggested post was approved.
    • MessageSuggestedPostApproved

      public MessageSuggestedPostApproved(long suggestedPostMessageId, TdApi.SuggestedPostPrice price, int sendDate)
      A suggested post was approved.
      Parameters:
      suggestedPostMessageId - Identifier of the message with the suggested post; can be 0 if the message was deleted.
      price - Price of the suggested post; may be null if the post is non-paid.
      sendDate - Point in time (Unix timestamp) when the post is expected to be published.
  • 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