public static class TdApi.SendBotStartMessage extends TdApi.Function
Returns Message
TdApi.Function.Constructors
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public 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()
getConstructor
in class TdApi.Function