diff --git a/data/web/blogfork.telegram.org/bots/features.html b/data/web/blogfork.telegram.org/bots/features.html index cec852be00..e63df866eb 100644 --- a/data/web/blogfork.telegram.org/bots/features.html +++ b/data/web/blogfork.telegram.org/bots/features.html @@ -74,6 +74,7 @@
+This mode not only increases user privacy, but also makes the bot more efficient by reducing the number of inputs it needs to process. Users can always see a bot’s current privacy setting in the list of group members.
To quickly test your bot without interfering with its users, you can simply run another instance of your code with a different token. You would then privately interact and run your benchmarks on the bot associated with the new token.
+++If you need to share file references across bots, note that the
+file_id
field is tied to a single bot id, so your test instance cannot use a sharedfile_id
database to quickly send media – files must be individually reuploaded.
Telegram also offers a dedicated test environment suitable for more advanced testing. Bots and users in this environment generally unlock expedited limits and more flexible restrictions – for example, you can test topics without needing 200 users in your group.
+The test environment is completely separate from the main environment, so you will need to create a new user account and a new bot with @BotFather.
+To create an account and log in, use either of the following:
+After logging in, simply create a new bot following the standard procedure and send your requests to the Test Bot API in this format:
+https://api.telegram.org/bot<token>/test/METHOD_NAME
++When working with the test environment, you may use HTTP links without TLS to test your Web Apps.
+
Millions choose Telegram for its speed. To best benefit users, your bot also needs to be responsive. In order to help developers keep their bots in shape, @BotFather will send status alerts if it sees something is wrong.
We check the number of replies and the request/response conversion rate for popular bots (~300 requests per minute, this value may change in the future). If your bot returns an abnormally low number, you will receive a notification from @BotFather.
diff --git a/data/web/core.telegram.org/bots/features.html b/data/web/core.telegram.org/bots/features.html index 4368aecc8f..85d39d5a35 100644 --- a/data/web/core.telegram.org/bots/features.html +++ b/data/web/core.telegram.org/bots/features.html @@ -74,6 +74,7 @@+This mode not only increases user privacy, but also makes the bot more efficient by reducing the number of inputs it needs to process. Users can always see a bot’s current privacy setting in the list of group members.
To quickly test your bot without interfering with its users, you can simply run another instance of your code with a different token. You would then privately interact and run your benchmarks on the bot associated with the new token.
+++If you need to share file references across bots, note that the
+file_id
field is tied to a single bot id, so your test instance cannot use a sharedfile_id
database to quickly send media – files must be individually reuploaded.
Telegram also offers a dedicated test environment suitable for more advanced testing. Bots and users in this environment generally unlock expedited limits and more flexible restrictions – for example, you can test topics without needing 200 users in your group.
+The test environment is completely separate from the main environment, so you will need to create a new user account and a new bot with @BotFather.
+To create an account and log in, use either of the following:
+After logging in, simply create a new bot following the standard procedure and send your requests to the Test Bot API in this format:
+https://api.telegram.org/bot<token>/test/METHOD_NAME
++When working with the test environment, you may use HTTP links without TLS to test your Web Apps.
+
Millions choose Telegram for its speed. To best benefit users, your bot also needs to be responsive. In order to help developers keep their bots in shape, @BotFather will send status alerts if it sees something is wrong.
We check the number of replies and the request/response conversion rate for popular bots (~300 requests per minute, this value may change in the future). If your bot returns an abnormally low number, you will receive a notification from @BotFather.