Package it.tdlight.jni
Class TdApi.PollTypeRegular
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PollType
it.tdlight.jni.TdApi.PollTypeRegular
- Enclosing class:
- TdApi
public static class TdApi.PollTypeRegular extends TdApi.PollType
A regular poll.
-
Field Summary
Fields Modifier and Type Field Description boolean
allowMultipleAnswers
True, if multiple answer options can be chosen simultaneously.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description PollTypeRegular()
A regular poll.PollTypeRegular(boolean allowMultipleAnswers)
A regular poll.PollTypeRegular(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-