chore: Update README.md
Some checks failed
Write changelog / write-changelog (push) Successful in 5s
CD / build-assets (x86_64-pc-windows-gnu) (push) Has been cancelled
CD / build-assets (x86_64-unknown-linux-gnu) (push) Has been cancelled
CD / build-assets (x86_64-unknown-linux-musl) (push) Has been cancelled
CD / release (push) Has been cancelled
CD / build-assets (aarch64-unknown-linux-musl) (push) Has been cancelled
CD / build-assets (aarch64-unknown-linux-gnu) (push) Has been cancelled
Rust CI / Rust CI (push) Successful in 5m58s

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-06-05 18:32:43 +03:00
parent ac2f9b9375
commit 3d9168e46f
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -42,6 +42,11 @@ Or just run the binary file in `target/release/telepingbot`
### `/ping/@<bot_username>` ### `/ping/@<bot_username>`
This endpoint is to ping the bot and returns if it's online or not. This endpoint is to ping the bot and returns if it's online or not.
#### Url querys
- "cmd": One word base64Url encoded, will use it as a command, default is `start`
- "args": Base64Url encoded, will use it as arguments for the command, default is `""`
#### Headers #### Headers
- `Authorization`: The API access token. e.g: `Authorization: FirstToken` - `Authorization`: The API access token. e.g: `Authorization: FirstToken`