public static class TdApi.StopPoll extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the poll belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the message containing the poll.
|
TdApi.ReplyMarkup |
replyMarkup
The new message reply markup; pass null if none; for bots only.
|
| Constructor and Description |
|---|
StopPoll()
Default constructor for a function, which stops a poll.
|
StopPoll(long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup)
Creates a function, which stops a poll.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.ReplyMarkup replyMarkup
public static final int CONSTRUCTOR
public StopPoll()
Returns Ok
public StopPoll(long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup)
Returns Ok
chatId - Identifier of the chat to which the poll belongs.messageId - Identifier of the message containing the poll. Use messageProperties.canBeEdited to check whether the poll can be stopped.replyMarkup - The new message reply markup; pass null if none; for bots only.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object