public static class TdApi.SendBotStartMessage extends TdApi.Function<TdApi.Message>
Returns Message
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the bot.
|
long |
chatId
Identifier of the target chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
parameter
A hidden parameter sent to the bot for deep linking purposes (https://core.telegram.org/bots#deep-linking).
|
| Constructor and Description |
|---|
SendBotStartMessage()
Default constructor for a function, which invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires canInviteUsers member right.
|
SendBotStartMessage(long botUserId,
long chatId,
java.lang.String parameter)
Creates a function, which invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires canInviteUsers member right.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public long chatId
public java.lang.String parameter
public static final int CONSTRUCTOR
public SendBotStartMessage()
Returns Message
public SendBotStartMessage(long botUserId,
long chatId,
java.lang.String parameter)
Returns Message
botUserId - Identifier of the bot.chatId - Identifier of the target chat.parameter - A hidden parameter sent to the bot for deep linking purposes (https://core.telegram.org/bots#deep-linking).public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object