yeref 0.29.20__tar.gz → 0.29.22__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.20
3
+ Version: 0.29.22
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='yeref',
5
- version='0.29.20',
5
+ version='0.29.22',
6
6
  description='desc-f',
7
7
  author='john smith',
8
8
  packages=['yeref'],
@@ -14002,10 +14002,20 @@ async def send_request_chat(bot, chat_id, lz, is_group=False):
14002
14002
  can_edit_messages=True, can_pin_messages=True,
14003
14003
  can_manage_topics=None)
14004
14004
 
14005
+ bot_administrator_rights = ChatAdministratorRights(is_anonymous=True, # !
14006
+ can_manage_chat=True, can_delete_messages=True,
14007
+ can_manage_video_chats=True, can_restrict_members=True,
14008
+ can_promote_members=False, # can_promote_members=True,
14009
+ can_change_info=False, can_invite_users=True,
14010
+ can_post_stories=True, can_edit_stories=False,
14011
+ can_delete_stories=False, can_post_messages=True,
14012
+ can_edit_messages=True, can_pin_messages=True,
14013
+ can_manage_topics=None)
14014
+
14005
14015
  kb_entity = KeyboardButtonRequestChat(request_id=1, chat_is_channel=False, chat_is_forum=None,
14006
14016
  chat_has_username=None, chat_is_created=None,
14007
14017
  user_administrator_rights=user_administrator_rights,
14008
- bot_administrator_rights=user_administrator_rights,
14018
+ bot_administrator_rights=bot_administrator_rights,
14009
14019
  bot_is_member=True)
14010
14020
 
14011
14021
  reply_markup.add(*[types.KeyboardButton(text=l_grp_btn1[lz], request_chat=kb_entity),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.20
3
+ Version: 0.29.22
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
File without changes
File without changes
File without changes
File without changes
File without changes