mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-12 00:52:19 +03:00
Mention how to get all errors at once
parent
8177220b2d
commit
91cec7b9b6
|
@ -5,6 +5,11 @@ If you still would like to opt out, simply set `client.session.report_errors = F
|
|||
## Querying the API status
|
||||
The API is accessed through `GET` requests, which can be made for instance through `curl`. A JSON response will be returned.
|
||||
|
||||
**All known errors and their description**:
|
||||
```bash
|
||||
curl https://rpc.pwrtelegram.xyz/?all
|
||||
```
|
||||
|
||||
**Error codes for a specific request**:
|
||||
```bash
|
||||
curl https://rpc.pwrtelegram.xyz/?for=messages.sendMessage
|
||||
|
|
Loading…
Reference in New Issue
Block a user