public static class TdApi.PushMessageContentPoll extends TdApi.PushMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
boolean |
isRegular
True, if the poll is regular and not in quiz mode.
|
java.lang.String |
question
Poll question.
|
| Constructor and Description |
|---|
PushMessageContentPoll()
A message with a poll.
|
PushMessageContentPoll(java.lang.String question,
boolean isRegular,
boolean isPinned)
A message with a poll.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String question
public boolean isRegular
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentPoll()
public PushMessageContentPoll(java.lang.String question,
boolean isRegular,
boolean isPinned)
question - Poll question.isRegular - True, if the poll is regular and not in quiz mode.isPinned - True, if the message is a pinned message with the specified content.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object