java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PollType
it.tdlight.jni.TdApi.PollTypeRegular
- Enclosing class:
- TdApi
A regular poll.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
True, if multiple answer options can be chosen simultaneously.static final int
-
Constructor Summary
ConstructorDescriptionA regular poll.PollTypeRegular
(boolean allowMultipleAnswers) A regular poll.PollTypeRegular
(DataInput input) A regular poll. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
allowMultipleAnswers
public boolean allowMultipleAnswersTrue, if multiple answer options can be chosen simultaneously. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
PollTypeRegular
public PollTypeRegular()A regular poll. -
PollTypeRegular
public PollTypeRegular(boolean allowMultipleAnswers) A regular poll.- Parameters:
allowMultipleAnswers
- boolean True, if multiple answer options can be chosen simultaneously.
-
PollTypeRegular
A regular poll.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-