Telegram
Step 1: Get API Token
First, you need to create an account on Telegram. After creating an account, you should contact the BotFather, which is a bot used to create other bots.
To create your bot, use the command /newbot
:
Your bot should have two attributes: a name
and a username
. After creating the bot, you will receive an API Token
.
Step 2: Get Chat ID
To find your chat ID, use RawDataBot.
Step 3: Configure Casdoor Telegram Provider
There are three required fields: App Key
, Content
, and Chat ID
. The relationship between the fields and Telegram is as follows:
Name | Name in Telegram |
---|---|
Secret key | API Token |
Chat ID | Chat ID |
Content |