Class TdApi.MessagePollOptionDeleted

Enclosing class:
TdApi

public static class TdApi.MessagePollOptionDeleted extends TdApi.MessageContent
A message with information about a deleted poll option.
  • Field Details

    • pollMessageId

      public long pollMessageId
      Identifier of the message with the poll; can be an identifier of a deleted message or 0.
    • optionId

      public String optionId
      Identifier of the deleted option in the poll.
    • text

      public TdApi.FormattedText text
      Text of the option; 1-100 characters; may contain only custom emoji entities.
    • CONSTRUCTOR

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

    • MessagePollOptionDeleted

      public MessagePollOptionDeleted()
      A message with information about a deleted poll option.
    • MessagePollOptionDeleted

      public MessagePollOptionDeleted(long pollMessageId, String optionId, TdApi.FormattedText text)
      A message with information about a deleted poll option.
      Parameters:
      pollMessageId - Identifier of the message with the poll; can be an identifier of a deleted message or 0.
      optionId - Identifier of the deleted option in the poll.
      text - Text of the option; 1-100 characters; may contain only custom emoji entities.
  • 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.MessageContent
      Returns:
      this.CONSTRUCTOR