Class TdApi.PollTypeRegular

Enclosing class:
TdApi

public static class TdApi.PollTypeRegular extends TdApi.PollType
A regular poll.
  • Field Details

    • allowMultipleAnswers

      public boolean allowMultipleAnswers
      True, if multiple answer options can be chosen simultaneously.
    • CONSTRUCTOR

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

    • PollTypeRegular

      public PollTypeRegular()
      A regular poll.
    • PollTypeRegular

      public PollTypeRegular(boolean allowMultipleAnswers)
      A regular poll.
      Parameters:
      allowMultipleAnswers - True, if multiple answer options can be chosen simultaneously.
  • 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