From c229cf8c7b310e632a735eaa0dfa3749c40c33f6 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Mon, 11 Sep 2023 00:34:02 +0300 Subject: [PATCH] Updated migration guide with API server (#1299) * docs: updated migration guide with API server * Update docs/migration_2_to_3.rst Co-authored-by: Alex Root Junior --------- Co-authored-by: Alex Root Junior --- docs/migration_2_to_3.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/migration_2_to_3.rst b/docs/migration_2_to_3.rst index 80910f84..93228c4d 100644 --- a/docs/migration_2_to_3.rst +++ b/docs/migration_2_to_3.rst @@ -133,3 +133,10 @@ Webhook - Simplified aiohttp web app configuration - By default added possibility to upload files when you use reply into webhook + + +Telegram API Server +=================== + +- `server` param was moved from `Bot` instance to `api` in `BaseSession`. +- `aiogram.bot.api.TELEGRAM_PRODUCTION` was moved to `aiogram.client.telegram.PRODUCTION`.