Telegram Bot API: Create a bot and get the access token
Creating a bot with Telegram is very simple and here we will see the step by step. We can use the bot to upload files imported from the Appyn theme. The maximum size per file is 20 MB.
Step by step
Open the Telegram app and search for the user “BotFather”. Or enter from here: https://t.me/BotFather
Start a conversation with BotFather and use the
/newbot command to create a new bot.
Follow the instructions to give your bot a name and username.
Once the bot is created, BotFather will provide you with an access token. Save it in the Token field of the theme.
Enter the chat with the created bot, in the previous image you can see the URL which is t.me/example_bot
Click the “START” button location in the upper right corner.
To obtain the Chat ID of your account, enter the following link: https://t.me/JsonDumpBot
/start chat and a JSON list appears. Copy the chat ID and paste it into the topic field.
With this data you can now import your apps to the Telegram servers. Remember that Telegram only allows up to 20 MB per uploaded file.