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
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:
parent
ac2f9b9375
commit
3d9168e46f
1 changed files with 5 additions and 0 deletions
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue