Documentation Index
Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Summary
This feature allows developers to obtain authentication credentials with Telegram so users can log in and link their Telegram username to their account. The Telegram handle will be added as a verified credential in the userās profile.Creating a new App
Here are the step-by-step instructions for obtaining OAuth credentials for Telegram:- Open Telegram and search for the āBotFatherā bot, or click here to start a conversation with it.
- Start a conversation with BotFather by typing
/start. - Type
/newbotto create a new bot. - Follow the prompts to name your bot and create a unique username for it. The username must end with ābotā (e.g.,
mycoolbotormy_cool_bot). - After creating your bot, you will receive a message with the botās token. Copy this token as it will be needed for configuration.
- Navigate to the Dynamic Dashboard social section. (https://app.dynamic.xyz/dashboard/log-in-user-profile).
- Open the Telegram configuration module.
- Paste the token you received from BotFather into the āBot Tokenā field.
- Paste the botās username in the āBot Nameā field.
- You also need to set up a domain URL for your bot. In the Dynamic Dashboard, find the āBot Domainā field in the Telegram configuration section.
- Copy the URL provided by Dynamic.
- Return to your conversation with BotFather and type
/setdomain. - When prompted, paste the URL you copied in the previous step.
Frequently Asked Questions
What is BotFather?
BotFather is an official bot on Telegram. It allows developers to create and manage their own Telegram bots and is required for obtaining the necessary credentials to interact with the Telegram API.What username should I use?
We suggest using your brand or application name to avoid confusing users when they authenticate. Example:Dynamic_bot.