java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentPoll
- Enclosing class:
- TdApi
A message with a poll.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the message is a pinned message with the specified content.boolean
True, if the poll is regular and not in quiz mode.Poll question. -
Constructor Summary
ConstructorDescriptionA message with a poll.PushMessageContentPoll
(DataInput input) A message with a poll.PushMessageContentPoll
(String question, boolean isRegular, boolean isPinned) A message with a poll. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
question
Poll question. -
isRegular
public boolean isRegularTrue, if the poll is regular and not in quiz mode. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
PushMessageContentPoll
public PushMessageContentPoll()A message with a poll. -
PushMessageContentPoll
A message with a poll.- Parameters:
question
- String Poll question.isRegular
- boolean True, if the poll is regular and not in quiz mode.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentPoll
A message with a 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()
-