You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The settings process from the XenForo Telegram Core plugin explains how to integrate Telegram as an authentication provider on a XenForo forum using a bot. Here's a step-by-step breakdown of how to configure it:
Create a Telegram Bot:
Open the Telegram app and search for @BotFather, which is the official bot for managing other Telegram bots.
Press Start and send the command /newbot to begin creating a new bot.
Follow the instructions, such as setting a name and username for your bot (bot usernames always end with 'bot').
Once the bot is created, BotFather will send you an HTTP access token. This token is crucial as it allows your forum to communicate with Telegram but must be kept secret.
Set Up the Bot's Domain:
Send the command /setdomain to BotFather.
Enter the domain of your forum without the protocol (http:// or https://) and without any subdirectories. For example, if your forum is hosted at https://example.com/forum, just enter example.com.
This step ensures that the bot is linked to your forum's domain.
Bot Customization (Optional):
You can further customize your bot by setting a user picture with the /setuserpic command or change the display name of your bot using /setname. However, note that the username (ending with bot) cannot be changed.
Configure Telegram in XenForo:
In XenForo's Admin Control Panel (ACP), navigate to Connected Accounts and find the Telegram settings.
Paste the HTTP access token from BotFather into the settings and save.
(Optional) Enable Webhook:
To receive real-time updates from Telegram (instead of relying on polling), you can enable the Webhook Update Method in the Telegram options within the XenForo settings.
If you enable this and use a proxy service like Cloudflare, make sure to whitelist Telegram's IP ranges. These IP ranges can be found in Telegram's official documentation.
Testing:
After configuring everything, you can start testing the Telegram authentication on your forum by trying to log in or register using your Telegram account.
The text was updated successfully, but these errors were encountered:
The settings process from the XenForo Telegram Core plugin explains how to integrate Telegram as an authentication provider on a XenForo forum using a bot. Here's a step-by-step breakdown of how to configure it:
Create a Telegram Bot:
@BotFather
, which is the official bot for managing other Telegram bots./newbot
to begin creating a new bot.Set Up the Bot's Domain:
/setdomain
to BotFather.http://
orhttps://
) and without any subdirectories. For example, if your forum is hosted athttps://example.com/forum
, just enterexample.com
.Bot Customization (Optional):
/setuserpic
command or change the display name of your bot using/setname
. However, note that the username (ending withbot
) cannot be changed.Configure Telegram in XenForo:
(Optional) Enable Webhook:
Testing:
The text was updated successfully, but these errors were encountered: