public static class TdApi.MessagePoll extends TdApi.MessageContent
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Poll poll
public static final int CONSTRUCTOR
public MessagePoll()
public MessagePoll(TdApi.Poll poll)
poll - The poll description.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object