Guide for creating BOT Token and Group ID on Telegram

huong dan tao bot token va group id tren telegram 3910 9

Currently, sending notifications from woocommerce/contact form 7, elementor pro form to Telegram is faster and more reliable than sending via email, as emails may end up in spam folders or promotional tabs, leading to a loss of customer information. Sending notifications via Telegram ensures that the message will be received. To do this, one needs to obtain a Bot Token and Group ID. This can be done by creating a bot on Telegram and adding it to a group. The Group ID can be found by logging into Telegram on the web. By following these steps, one can successfully set up Telegram notifications on their website.

Currently, sending notifications from woocommerce/contact form 7, elementor pro form via telegram will be faster and more reliable than sending via email because emails may end up in the promotions tab or even in spam, resulting in missed customer information.

On the other hand, sending messages via Telegram ensures you will receive them. It’s like the image below. Furthermore, you can add your employees to receive notifications together.

However, to send notifications through this method, we need to obtain two essential components: Bot Token and Group ID. In this article, I will guide you on creating and obtaining these two crucial parameters.

Tạo Bot và lấy Bot Token

To create a Telegram Bot, you must have a Telegram account (easy to sign up for). Next, search for BotFather and click Start. Make sure to click the correct one, watch out for impostors.

See also  EnglishCode widget displaying foreign exchange rates of Vietcombank.

Then, type /newbot to create and name your BOT as shown in the image below. Once done, you will receive a token code.

Tạo Group để nhận thông báo

To receive notifications, you need to create a group and add the Bot you just created. Here’s how:

Click on the menu at the top left corner, select New Group.

Next, enter the group name and add the Bot you created. Click Create.

With these steps, you have successfully created the group. The next step is to obtain the Group ID.

Lấy Group ID Telegram

If you create a group on the desktop/mobile app, you won’t find the ID easily. So, to get it, log in to Telegram on the web.

Login to Telegram on the web by visiting the link https://web.telegram.org. Then, open Telegram on the app, go to Settings → Devices → Link Desktop Device, and scan the QR code displayed on the screen.

After logging in, click on your group, then look at the browser address bar to find the Group ID.

The Group ID format is: -xxxxxxxxx, make sure to copy the entire ID, including the dash.

In just a few steps, we have obtained the Bot Token and Group ID of Telegram to integrate into our website notification plugin. Good luck with your successful implementation!

5/5 - (1 vote)

Related posts