public static class TdApi.StopPoll extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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.replyMarkup
- The new message reply markup; pass null if none; for bots only.public int getConstructor()
getConstructor
in class TdApi.Function