From 6ee5f0bd53a82f9b0ba698d456970bf3e971ff86 Mon Sep 17 00:00:00 2001 From: Lonami Date: Mon, 25 Sep 2017 11:47:54 +0200 Subject: [PATCH] Mention automatic reporting can be disabled when creating a client --- API-Status.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API-Status.md b/API-Status.md index 1a80949..98b141a 100644 --- a/API-Status.md +++ b/API-Status.md @@ -1,6 +1,6 @@ In an attempt to help everyone who works with the Telegram API, the library will by default report all *Remote Procedure Call* errors to [RPC PWRTelegram](https://rpc.pwrtelegram.xyz/), a public database anyone can query, made by [Daniil](https://github.com/danog). All the information sent is a ``GET`` request with the error code, error message and method used. -If you still would like to opt out, simply set `client.session.report_errors = False` to disable this feature. However Daniil would really thank you if you helped him (and everyone) by keeping it on! +If you still would like to opt out, simply set `client.session.report_errors = False` to disable this feature, or pass `report_errors=False` as a named parameter when creating a `TelegramClient` instance. However Daniil would really thank you if you helped him (and everyone) by keeping it on! ## 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.