public static class TdApi.PushMessageContentPoll extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.PushMessageContent