Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/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.