Package org.drinkless.tdlib
Class TdApi.InputPollTypeRegular
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPollType
org.drinkless.tdlib.TdApi.InputPollTypeRegular
- Enclosing class:
TdApi
A regular poll.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InputPollType
TdApi.InputPollType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if answer options can be added to the poll after creation; not supported in channel chats and for anonymous polls.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionA regular poll.InputPollTypeRegular(boolean allowAddingOptions) 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
-
allowAddingOptions
public boolean allowAddingOptionsTrue, 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 CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.InputPollType- Returns:
- this.CONSTRUCTOR
-