public static class TdApi.SetBusinessConnectedBot extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
TdApi.BusinessConnectedBot |
bot
Connection settings for the bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
SetBusinessConnectedBot()
Default constructor for a function, which adds or changes business bot that is connected to the current user account.
|
SetBusinessConnectedBot(TdApi.BusinessConnectedBot bot)
Creates a function, which adds or changes business bot that is connected to the current user account.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.BusinessConnectedBot bot
public static final int CONSTRUCTOR
public SetBusinessConnectedBot()
Returns Ok
public SetBusinessConnectedBot(TdApi.BusinessConnectedBot bot)
Returns Ok
bot - Connection settings for the bot.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object