mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[Telegram] Improved sending to a particular chat section (#8733)
* Improved send to a particular chat section I specified that the chatId in the APIs must be followed by an "L" or it won't work (at least, not for group chats). I also mentioned that you can store the chatId inside a variable so that you can write it only once for the entire rules file. * Update README.md
This commit is contained in:
parent
655766056a
commit
a33e995109
@ -155,7 +155,7 @@ These actions will send a message to all chat ids configured for this bot.
|
||||
|
||||
### Actions to send messages to a particular chat
|
||||
|
||||
Just put the chat id (must be a long value!) as the first argument to one of the above mentioned APIs:
|
||||
Just put the chat id (must be a long value!) followed by an "L" as the first argument to one of the above mentioned APIs:
|
||||
|
||||
```
|
||||
telegramAction.sendTelegram(1234567L, "Hello world!")
|
||||
|
Loading…
Reference in New Issue
Block a user