Closed Vadim-Khristenko closed 3 months ago
Согласно Репорту по ссылке https://github.com/MasterGroosha/aiogram-3-guide/issues/76
В разделе "Особые апдейты" https://mastergroosha.github.io/aiogram-3-guide/special-updates/ или же https://mastergroosha.github.io/aiogram-3-guide/special-updates/#my-chat-member:~:text=chat_info%20%3D%20await%20bot.get_chat(event.chat.id), в блоке "Добавление в группу" в функции "bot_added_as_member" отсутствует аргумент bot, который потом вызывается в ней же.
Я же внёс эту маленькую, но правку :) Сделав не await bot.get_chat(event.chat.id) а, await event.bot.get_chat(event.chat.id)
await bot.get_chat(event.chat.id)
await event.bot.get_chat(event.chat.id)
Спасибо, я это притащил в ef4f169 в рамках обновления материалов
Согласно Репорту по ссылке https://github.com/MasterGroosha/aiogram-3-guide/issues/76
В разделе "Особые апдейты" https://mastergroosha.github.io/aiogram-3-guide/special-updates/ или же https://mastergroosha.github.io/aiogram-3-guide/special-updates/#my-chat-member:~:text=chat_info%20%3D%20await%20bot.get_chat(event.chat.id), в блоке "Добавление в группу" в функции "bot_added_as_member" отсутствует аргумент bot, который потом вызывается в ней же.
Я же внёс эту маленькую, но правку :) Сделав не
await bot.get_chat(event.chat.id)
а,await event.bot.get_chat(event.chat.id)