public static class TdApi.MessagePoll extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Poll |
poll
The poll description.
|
Constructor and Description |
---|
MessagePoll()
A message with a poll.
|
MessagePoll(TdApi.Poll poll)
A message with a poll.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Poll poll
public static final int CONSTRUCTOR
public MessagePoll()
public MessagePoll(TdApi.Poll poll)
poll
- The poll description.public int getConstructor()
getConstructor
in class TdApi.MessageContent