yeref 0.29.20__tar.gz → 0.29.24__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.
- {yeref-0.29.20 → yeref-0.29.24}/PKG-INFO +1 -1
- {yeref-0.29.20 → yeref-0.29.24}/setup.py +1 -1
- {yeref-0.29.20 → yeref-0.29.24}/yeref/yeref.py +12 -2
- {yeref-0.29.20 → yeref-0.29.24}/yeref.egg-info/PKG-INFO +1 -1
- {yeref-0.29.20 → yeref-0.29.24}/pyproject.toml +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/setup.cfg +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/yeref/__init__.py +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/yeref/l_.py +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/yeref/tonweb.js +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/yeref.egg-info/SOURCES.txt +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/yeref.egg-info/dependency_links.txt +0 -0
- {yeref-0.29.20 → yeref-0.29.24}/yeref.egg-info/top_level.txt +0 -0
@@ -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
|
-
user_administrator_rights=
|
14008
|
-
bot_administrator_rights=
|
14017
|
+
user_administrator_rights=bot_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),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|