Class TdApi.BusinessBotManageBar
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.BusinessBotManageBar
- Enclosing class:
- TdApi
Contains information about a business bot that manages the chat.
-
Field Summary
Modifier and TypeFieldDescriptionlong
User identifier of the bot.boolean
True, if the bot can reply.static final int
Identifier uniquely determining type of the object.boolean
True, if the bot is paused.URL to be opened to manage the bot. -
Constructor Summary
ConstructorDescriptionContains information about a business bot that manages the chat.BusinessBotManageBar
(long botUserId, String manageUrl, boolean isBotPaused, boolean canBotReply) Contains information about a business bot that manages the chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
botUserId
public long botUserIdUser identifier of the bot. -
manageUrl
URL to be opened to manage the bot. -
isBotPaused
public boolean isBotPausedTrue, if the bot is paused. Use toggleBusinessConnectedBotChatIsPaused to change the value of the field. -
canBotReply
public boolean canBotReplyTrue, if the bot can reply. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
BusinessBotManageBar
public BusinessBotManageBar()Contains information about a business bot that manages the chat. -
BusinessBotManageBar
public BusinessBotManageBar(long botUserId, String manageUrl, boolean isBotPaused, boolean canBotReply) Contains information about a business bot that manages the chat.- Parameters:
botUserId
- User identifier of the bot.manageUrl
- URL to be opened to manage the bot.isBotPaused
- True, if the bot is paused. Use toggleBusinessConnectedBotChatIsPaused to change the value of the field.canBotReply
- True, if the bot can reply.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-