public static class TdApi.StopBusinessPoll extends TdApi.Function<TdApi.BusinessMessage>
Returns BusinessMessage
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
businessConnectionId
Unique identifier of business connection on behalf of which the message with the poll was sent.
|
long |
chatId
The chat the message belongs to.
|
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.
|
| Constructor and Description |
|---|
StopBusinessPoll()
Default constructor for a function, which stops a poll sent on behalf of a business account; for bots only.
|
StopBusinessPoll(java.lang.String businessConnectionId,
long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup)
Creates a function, which stops a poll sent on behalf of a business account; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String businessConnectionId
public long chatId
public long messageId
public TdApi.ReplyMarkup replyMarkup
public static final int CONSTRUCTOR
public StopBusinessPoll()
Returns BusinessMessage
public StopBusinessPoll(java.lang.String businessConnectionId,
long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup)
Returns BusinessMessage
businessConnectionId - Unique identifier of business connection on behalf of which the message with the poll was sent.chatId - The chat the message belongs to.messageId - Identifier of the message containing the poll.replyMarkup - The new message reply markup; pass null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object