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:
- Install the Required Package: You need to install the
UiPath.Web.Activities
package to work with HTTP requests. - Configure Telegram API Integration: To send messages to a Telegram group, you need to create a bot on Telegram and obtain the bot token.
- 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