Package org.drinkless.tdlib
Class TdApi.PollTypeRegular
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PollType
org.drinkless.tdlib.TdApi.PollTypeRegular
- Enclosing class:
- TdApi
A regular poll.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if multiple answer options can be chosen simultaneously.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionA regular poll.PollTypeRegular(boolean allowMultipleAnswers) A regular poll. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
allowMultipleAnswers
public boolean allowMultipleAnswersTrue, if multiple answer options can be chosen simultaneously. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-