Get Bot Info
Description
The portex bot
command is used to manage Telegram bots that are bound to mini-apps. This command retrieves and displays information about the Telegram bot associated with the specified mini-app. The portex bot
command is only applicable to mini-apps hosted on the Telegram platform.
Parameters
<app-name>
The name of the application. This parameter is required and should correspond to the name of the mini-app that you want to manage the bot for.
Yes
Example
Success and Failure Messages
Success: After successfully retrieving the bot's information, the system will display the following table:
Failure: If the application is not bound to a Telegram bot, an error message will be shown:
Additionally, if the platform is not Telegram, the following error message will be displayed:
Notes
Platform Support: The
portex bot
command is only supported for mini-apps that are hosted on the Telegram platform.Bot Registration: If the mini-app is not bound to a Telegram bot, you can register the bot using the
portex bot register
command, providing the bot token as an argument.
Additional Information
Register a Bot: If you need to register a Telegram bot for your mini-app, you can use the following command:
Bot Management: Once the bot is registered, you can manage the bot's settings, including menus and other configurations, using additional bot commands.
Last updated