diff --git a/telebot/asyncio_storage/redis_storage.py b/telebot/asyncio_storage/redis_storage.py index 92842ab..f9c3aea 100644 --- a/telebot/asyncio_storage/redis_storage.py +++ b/telebot/asyncio_storage/redis_storage.py @@ -170,6 +170,6 @@ class StateRedisStorage(StateStorageBase): user_id = str(user_id) if response: if user_id in response: - response[user_id]['data'] = dict(data, **response[user_id]['data']) + response[user_id]['data'] = data await self.set_record(chat_id, response) return True