[Telegram] Improved sending to a particular chat (#8750)

Changed the README.md file to include more information as in #8733:

Specified that the chatId in the APIs must be followed by an "L" or it won't work (at least, not for group chats).
This commit is contained in:
FrancescoRisso 2020-10-16 19:04:15 +02:00 committed by GitHub
parent 71fd87c5c9
commit a97e3eaf9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ### 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!") telegramAction.sendTelegram(1234567L, "Hello world!")