From e88b12842ab1ce936b984b5663275e07cf754e35 Mon Sep 17 00:00:00 2001 From: Nur Muhammad Date: Sat, 31 Oct 2020 19:20:44 +0800 Subject: [PATCH] Update readme.md: send message to group --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/readme.md b/readme.md index 2e7dc13..651be57 100644 --- a/readme.md +++ b/readme.md @@ -19,3 +19,12 @@ Watch the tutorials: ### Notes As mentioned in the video above, you have to install `nodemon` to run the start script. You can install nodemon globally with `npm i -g nodemon` command. + +### Send message to group +I was added an example to send a message to groups, but before that we must know the group ID (chat ID). Don't worry, I also add the functionality to help you to get that groups ID. + +Here the way to get the groups info (including ID & name): +- Send a message to the API number `!groups` +- The API will replying with the groups info +- Use the ID to send a message +- Here the endpoint: `/send-group-message` \ No newline at end of file