Update README.md

This commit is contained in:
b0nz 2022-03-13 16:08:56 -03:00 committed by GitHub
parent efa1ba70df
commit ec87ae03d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -120,10 +120,10 @@ Getting channel or chat (contact) ID
- It will reply with a json with information from the message; - It will reply with a json with information from the message;
- Go to the channel or chat you want the id and forward a message from there to JsonDumpBot; - Go to the channel or chat you want the id and forward a message from there to JsonDumpBot;
- Find the id in the reply. It'll look something like this: - Find the id in the reply. It'll look something like this:
``` ```
{... {...
"forward_from_chat": { "forward_from_chat": {
"id": xxxxxxxxx, "id": xxxxxxxxx,
...} ...}
``` ```
- Don't forget to add the bot as admin in channel so messages can be sent. - Don't forget to add the bot as admin in channel so messages can be sent.