Class TdApi.InputPollTypeRegular

Enclosing class:
TdApi

public static class TdApi.InputPollTypeRegular extends TdApi.InputPollType
A regular poll.
  • Field Details

    • allowAddingOptions

      public boolean allowAddingOptions
      True, if answer options can be added to the poll after creation; not supported in channel chats and for anonymous polls.
    • CONSTRUCTOR

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

    • InputPollTypeRegular

      public InputPollTypeRegular()
      A regular poll.
    • InputPollTypeRegular

      public InputPollTypeRegular(boolean allowAddingOptions)
      A regular poll.
      Parameters:
      allowAddingOptions - True, if answer options can be added to the poll after creation; not supported in channel chats and for anonymous polls.
  • 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.InputPollType
      Returns:
      this.CONSTRUCTOR