Oleg A
47baf9928a
chore: encoding one style
2021-08-01 23:39:30 +03:00
Oleg A
ecebf46722
docs: correct redis storage version
2021-08-01 23:29:03 +03:00
Oleg A
ac9d44ecea
chore: add redis deprecations
2021-08-01 23:28:14 +03:00
Oleg A
0f100a74ad
chore: add docstrings
2021-08-01 22:47:41 +03:00
Oleg A
44568f2693
chore: remove method proxy
2021-08-01 22:43:27 +03:00
Oleg A
5cf7a39967
chore: separate get_adapter method
2021-08-01 22:42:30 +03:00
Oleg A
165f35a4a3
fix: add missed redis methods
2021-08-01 22:41:03 +03:00
Oleg A
fa87b4dfd4
chore: adapter.get_redis become public
2021-08-01 22:40:36 +03:00
Oleg A
e0ada08708
chore: proxy Redis methods
2021-08-01 16:20:51 +03:00
Oleg A
7d45f59b98
chore: refactor _get_redis for adapter
2021-08-01 15:27:59 +03:00
Oleg A
ba08aab63f
chore: aioredis version without importlib
2021-08-01 12:32:09 +03:00
Oleg A
8136ce8ff8
feat: aioredis v1-v2 adapters #648
2021-08-01 12:00:07 +03:00
Ramzan Bekbulatov
580fa2e499
Allow empty and zero parts in CallbackData ( #646 )
...
* enh: allow empty parts in CallbackData
* enh: allow zero parts in CallbackData
* new: tests for CallbackData
2021-08-01 00:05:21 +03:00
Ramzan Bekbulatov
f6f2972a11
Add to ChatMemberOwner new default fields ( #645 )
...
* new: add field type ConstField
* new: add const fields for ChatMemberOwner
* new: better typings for get_chat_administrators
* new: add tests for chat owner fields
* fix: Type typing for class
* enh: alias is_chat_owner for is_chat_creator
2021-07-31 21:47:37 +03:00
Oleg Koloskov
7feb0cade0
Fix between condition in send_media_group method ( #642 )
2021-07-28 22:11:26 +03:00
Oleg A
29d2ffc9ed
fix: add missed ChatMember{x} in types ( #636 )
2021-07-24 23:00:21 +03:00
Almaz
82d10844d7
Replace for loops with comprehensions ( #629 )
2021-07-18 14:23:18 +03:00
Almaz
ebd7f79326
Replace yield inside for loop with yield from ( #631 )
2021-07-18 14:20:49 +03:00
Almaz
70aa80abf1
Simplify some conditions ( #632 )
2021-07-18 14:20:07 +03:00
Alex Root Junior
04a64fbfc5
Bump version
2021-07-10 23:06:27 +03:00
Alex Root Junior
d41ce71c02
Merge branch 'master' into dev-2.x
2021-07-10 23:06:14 +03:00
Oleg A
7a9bab01eb
fix: deserialize via to_object method ( #624 )
2021-07-10 22:43:36 +03:00
Oleg A
2b4e3ad5c6
fix: optional list field serialize-deserialize ( #622 )
2021-07-07 02:21:15 +03:00
Oleg A
a26c6428a3
fix: chat_member status check ( #621 )
2021-07-06 13:20:52 +03:00
Alex Root Junior
7edf9e77b6
Bump version
2021-07-06 01:23:51 +03:00
Alex Root Junior
a6782d91ba
Merge branch 'dev-2.x'
2021-07-06 01:23:11 +03:00
alfred richardsn
899228904a
Fix unused default locale in I18nMiddleware ( #562 ) ( #563 )
...
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-07-06 01:12:52 +03:00
Andrey Tikhonov
2e207c636c
fix fault on reset_state in memory storage ( #619 )
2021-07-06 01:10:51 +03:00
Alex Root Junior
f6730d0e93
Merge branch 'dev-2.x'
2021-07-05 02:43:40 +03:00
Alex Root Junior
64a7a781da
Bump version
2021-07-05 02:43:32 +03:00
Alex Root Junior
af031431f5
Fixed BotCommandScopeType helper mode
2021-07-05 02:42:51 +03:00
Alex Root Junior
3cdc2f750b
Merge branch 'dev-2.x'
2021-07-05 00:03:29 +03:00
Oleg A
f18e4491c2
Telegram API 5.3 ( #610 )
...
* docs: api version update
* feat: personalized commands
* feat: custom placeholders
* refactor: ChatMember split
* fix: old names for ChatMemberStatus
* refactor: renamed kickChatMember to banChatMember
* style: align params
* refactor: renamed getChatMembersCount to getChatMemberCount (#614 )
* feat: resolve ChatMember
* refactor: renamed BotCommandScopeTypes (similar to code style)
* refactor: resolve is a static method
* Construct BotCommandScope from type
* Make BotCommandScope classmethod instead of method
* Use classmethod for ChatMember resolve method
Co-authored-by: Hoi Dmytro <dmytro.hoi@gmail.com>
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-07-04 23:52:55 +03:00
Biorobot1337
e70a76ff63
Mongo storage cleanup ( #609 )
...
* Update message.py
Fixed syntax bug, added comma
* Cleanup mongodb storage
Cleaning up blank documents in DATA collection
2021-06-21 23:15:01 +03:00
Biorobot1337
c42b7e4b0d
Update message.py ( #603 )
...
Fixed syntax bug, added comma
2021-06-14 00:26:27 +03:00
Oleg A
f20e6ca0bd
fix: GroupDeactivated exception text update ( #598 )
2021-06-13 01:22:57 +03:00
Andrey Tikhonov
0b1c22b7b0
Сleanup storage ( #587 )
...
* remove key from storage, when not needed
* fix redis1 delete
* fix new line
* check reset
* fix redis store close check
2021-06-13 01:22:47 +03:00
Oleg A
7eb32785f6
fix: input media caption_entities ( #583 )
2021-06-13 01:20:26 +03:00
p82o
02cd42a339
Update text_decorations.py ( #597 )
2021-06-06 23:08:59 +03:00
Oleg A
5f6e5a646b
Fix default updates ( #592 )
...
* fix: default updates
* fix: removed redundant cache import
2021-05-25 10:12:52 +03:00
pigeonburger
0e28756a10
Update README.md ( #586 )
2021-05-17 13:17:48 +03:00
dashedman
405add31ab
fix get_full_command for messages with caption ( #576 )
...
* fix get_full_command for messages with caption
* change to more cleaner method
2021-05-11 23:39:17 +03:00
Alex Root Junior
88e3d0503d
Merge branch 'dev-2.x'
2021-04-28 23:41:20 +03:00
Alex Root Junior
d5a4c0c4af
Bump version
2021-04-28 23:41:07 +03:00
Alex Root Junior
f3f2844d75
Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x
2021-04-28 23:39:45 +03:00
Alex Root Junior
1f57a40c45
Correctly use provider_data argument
2021-04-28 23:39:36 +03:00
Googleplex
35bf18cf5a
fix: builtin command filter args ( #556 ) ( #558 )
...
* fix: builtin command filter args
* fix: use string for command arguments
* fix: text property of command object
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2021-04-28 23:37:59 +03:00
Oleg A
4120408aa3
Set state via storage ( #542 )
...
* refactor: simplified check_address (removed redundant states check)
* refactor: FSM resolve_state become public, removed redundant elif
* fix: resolve `filters.State` on `set_state`
* refactor: moved state resolution to storage
* fix: return default state on get_state
2021-04-28 01:28:53 +03:00
Oleg A
ba095f0b9f
i18n get_locale without User ( #546 )
...
* fix : #544 return locale None if User is absent
* fix : #544 fixed typing
* fix : #544 User is Optional
* style: minor docs styling
* fix: explicit None return + typing
* fix: typing
2021-04-28 01:28:34 +03:00
darksidecat
75e88f173c
Closes #548 ( #549 )
...
Bot.create_chat_invite_link()
Bot.edit_chat_invite_link()
Bot.revoke_chat_invite_link()
need to return types.ChatInviteLink, not dict
2021-04-28 01:25:31 +03:00