Появляется ошибка при удалении группового чата/канала
return ret.from_dict(payload) # type: ignore[return-value] File "<string>", line 6, in __mashumaro_from_dict__ mashumaro.exceptions.MissingField: Field "chat_id" of type str is missing in RemoveChatResponse instance
Чтобы повторить ошибку достаточно выполнить
group_chat = await bot.create_group_chat("Test Chat")
await bot.delete_chat(group_chat.chat_id)
channel = await bot.create_channel("Test Chat")
await bot.delete_chat(channel.chat_id)
При этом сам канал/групповой чат - удаляются
Появляется ошибка при удалении группового чата/канала
return ret.from_dict(payload) # type: ignore[return-value] File "<string>", line 6, in __mashumaro_from_dict__ mashumaro.exceptions.MissingField: Field "chat_id" of type str is missing in RemoveChatResponse instanceЧтобы повторить ошибку достаточно выполнить
group_chat = await bot.create_group_chat("Test Chat")await bot.delete_chat(group_chat.chat_id)channel = await bot.create_channel("Test Chat")await bot.delete_chat(channel.chat_id)При этом сам канал/групповой чат - удаляются