Skip to content

Commit d44ebce

Browse files
Fix versions
1 parent 30ebe75 commit d44ebce

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

telebot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6657,7 +6657,7 @@ def set_state(self, user_id: int, state: Union[str, State], chat_id: Optional[in
66576657
Otherwise, if you only set user_id, chat_id will equal to user_id, this means that
66586658
state will be set for the user in his private chat with a bot.
66596659
6660-
.. versionchanged:: 4.22.0
6660+
.. versionchanged:: 4.23.0
66616661
66626662
Added additional parameters to support topics, business connections, and message threads.
66636663

telebot/async_telebot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7856,7 +7856,7 @@ async def set_state(self, user_id: int, state: Union[int, str, State], chat_id:
78567856
Otherwise, if you only set user_id, chat_id will equal to user_id, this means that
78577857
state will be set for the user in his private chat with a bot.
78587858
7859-
.. versionchanged:: 4.22.0
7859+
.. versionchanged:: 4.23.0
78607860
78617861
Added additional parameters to support topics, business connections, and message threads.
78627862

telebot/asyncio_storage/redis_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def migrate_format(self, bot_id: int, prefix: Optional[str] = "telebot_"):
297297
Migrate from old to new format of keys.
298298
Run this function once to migrate all redis existing keys to new format.
299299
300-
Starting from version 4.22.0, the format of keys has been changed:
300+
Starting from version 4.23.0, the format of keys has been changed:
301301
<key>:value
302302
- Old format: {prefix}chat_id: {user_id: {'state': None, 'data': {}}, ...}
303303
- New format:

telebot/storage/redis_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def migrate_format(self, bot_id: int, prefix: Optional[str] = "telebot_"):
283283
Migrate from old to new format of keys.
284284
Run this function once to migrate all redis existing keys to new format.
285285
286-
Starting from version 4.22.0, the format of keys has been changed:
286+
Starting from version 4.23.0, the format of keys has been changed:
287287
<key>:value
288288
- Old format: {prefix}chat_id: {user_id: {'state': None, 'data': {}}, ...}
289289
- New format:

0 commit comments

Comments
 (0)