botapi-py 1.5.5__tar.gz → 1.5.6__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.
- {botapi_py-1.5.5 → botapi_py-1.5.6}/PKG-INFO +1 -1
- {botapi_py-1.5.5 → botapi_py-1.5.6}/pyproject.toml +1 -1
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/types.py +2 -2
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/__init__.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/__init__.pyi +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/bot.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/core.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/dispatchers/__init__.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/dispatchers/__init__.pyi +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/dispatchers/common.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/dispatchers/get_updates_handler.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/dispatchers/redis_pubsub_handler.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/enums.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/errors.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/internals.py +0 -0
- {botapi_py-1.5.5 → botapi_py-1.5.6}/src/botapi/methods.py +0 -0
|
@@ -635,8 +635,8 @@ class ChatMember(BaseModel):
|
|
|
635
635
|
status: Literal['creator', 'administrator', 'member', 'restricted', 'left', 'kicked']
|
|
636
636
|
user: User
|
|
637
637
|
|
|
638
|
-
|
|
639
|
-
|
|
638
|
+
@property
|
|
639
|
+
def is_participant(self) -> bool:
|
|
640
640
|
'''
|
|
641
641
|
Returns a boolean indicating if the user is currently part of of the chat (i.e. not left/banned).
|
|
642
642
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|