Type /start and follow the given workflow to create your bot (bot’s name must end in "bot").
Done. Your bot is created.
Step 2 - Set up connection
for Bitbucket administrators
After add-on installation Bitbucket administrator must go to Settings → Telegram Connector to establish connection between Bitbucket and Telegram.
Here administrator must add crucial information about created Telegram bot:
This information is given only to bot creator from BotFather. Alongside with other control options.
After configuration is saved, service connection is complete. Now users can set up their own notification rules.
Optionally add-on supports sending messages using proxy. To send add-on traffic via proxy add required information into bot configuration settings:
Press Save/Restart to update information.
Step 3 - Create configuration
Users can be notified on events happening with your project or repository via Telegram group chats. All notifications are sent from Bitbucket on behalf of your custom bot used for the whole Bitbucket instance.
Each project or repository administrator can set up configuration that will notify on certain events.
To do so go to project/repository settings → Telegram Connector. On this page you can create as many configurations as you want as long as they use different Telegram group ID.
There are 2 places where user can set up a connector in Bitbucket.
Both sections have identical basic features, yet connector on repository level will send notifications on events in particular repository. While connector on project level will notify on events in all repositories in project.
Configurations created on project level can be viewed on repository page, yet can cannot be edited there. Editing is possible only from add-on configuration in project settings.