Chainfuel provides a powerful set of tools for managing your Telegram communities including for groups and channels. To manage your Telegram community through Chainfuel, you need to add a telegram bot which is programmed by us to manage your community automatically. While by default we provide the option for users to use the Chainfuel Bot, there are a few reasons for creating your own custom bot instead. The major reasons for this being branding and to use certain advanced features such as security quiz.
Here are the steps to setup a custom bot with Chainfuel:
The first step is to create a bot using Botfather on Telegram.
To create a new Telegram bot, send command /newbot.
Give the Telegram bot a friendly name.
Give the Telegram bot a unique username.
Copy the Telegram bot's access token.
Once you copy the access token, navigate to https://app.chainfuel.com. If your group is already added to the Chainfuel dashboard navigate to 'Group Settings' by clicking on the link in the sidebar. In the 'Group Settings' page, click the 'Custom Bot' option. You'll see the following instructions come up. Enter the access token in the form on this page and click 'Save' button.
Now, if you don't have your group already setup in Chainfuel, you'll need to add it first. During the addition of the group, you can choose to setup your group with a custom bot. When you select the option to setup your group with custom bot, you'll see the below screen. Paste the bot's access token that you obtained from @botfather here and click save. Ensure the custom bot is added to your group and admin privileges are provided to this bot in your group.
Next, add the custom bot you created to your group and provide it admin privileges for your group. Once done verify that everything is setup correctly by going to the anti-spam page and ensuring there are no errors shown. The anti-spam page should look like the below image.
Finally, remove the Chainfuel botler from your group, if it still exists in your group, as it is no longer needed.