How do I send message to Telegram group?

HI @ekewaka Welcome to the community. I don’t have first hand experience using telegram api. But as far as i understand you have follow the below steps:

Sending Message to a Telegram Group:

  1. Install the Required Package: You need to install the UiPath.Web.Activities package to work with HTTP requests.
  2. Configure Telegram API Integration: To send messages to a Telegram group, you need to create a bot on Telegram and obtain the bot token.
  3. Use HTTP Request to Send Message: Use the HTTP Request activity to send a message to the Telegram group. Set the activity’s properties as follows:
  • Method: POST
  • Endpoint: https://api.telegram.org/bot<your-bot-token>/sendMessage
  • Headers: Add “Content-Type” with value “application/x-www-form-urlencoded”
  • Body: Add the necessary parameters, such as “chat_id” (the ID of the Telegram group) and “text” (the message content).

Replace <your-bot-token> with your actual bot token and <group-chat-id> with the ID of your Telegram group chat.

I have also seen this one project in Marketplace

Please go through the below link as well, might be helpful

Hope it helps

2 Likes