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