Hi,
I realize that HA is not only useful for home but it can be useful for work as well. I wanted to send Telegram messages to my clients automatically using HA. I have the username of my clients for example; t.me/[client username].
Please support send Telegram message using any username as target via the telegram_bot.send_message
service.
Example:
- service: telegram_bot.send_message
data_template:
message: "Good morning. Please pay your bill."
title: ''
target: 'client_username'
At the moment, it gives this error:
expected int @ data[‘target’][0]