public static class TdApi.InternalLinkTypeBotStartInGroup extends TdApi.InternalLinkType
| Modifier and Type | Field and Description |
|---|---|
TdApi.ChatAdministratorRights |
administratorRights
Expected administrator rights for the bot; may be null.
|
java.lang.String |
botUsername
Username of the bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
startParameter
The parameter to be passed to sendBotStartMessage.
|
| Constructor and Description |
|---|
InternalLinkTypeBotStartInGroup()
The link is a link to a Telegram bot, which is expected to be added to a group chat.
|
InternalLinkTypeBotStartInGroup(java.lang.String botUsername,
java.lang.String startParameter,
TdApi.ChatAdministratorRights administratorRights)
The link is a link to a Telegram bot, which is expected to be added to a group chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String botUsername
public java.lang.String startParameter
public TdApi.ChatAdministratorRights administratorRights
public static final int CONSTRUCTOR
public InternalLinkTypeBotStartInGroup()
public InternalLinkTypeBotStartInGroup(java.lang.String botUsername,
java.lang.String startParameter,
TdApi.ChatAdministratorRights administratorRights)
botUsername - Username of the bot.startParameter - The parameter to be passed to sendBotStartMessage.administratorRights - Expected administrator rights for the bot; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object