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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: botapi-py
3
- Version: 1.5.5
3
+ Version: 1.5.6
4
4
  Summary: A simple and flexible Python library to conveniently build fast Telegram bots using the Bot API.
5
5
  Requires-Dist: httpx>=0.28.1
6
6
  Requires-Dist: pydantic>=2.12.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "botapi-py"
3
- version = "1.5.5"
3
+ version = "1.5.6"
4
4
  description = "A simple and flexible Python library to conveniently build fast Telegram bots using the Bot API."
5
5
  # readme = "README.md"
6
6
  # authors = [
@@ -635,8 +635,8 @@ class ChatMember(BaseModel):
635
635
  status: Literal['creator', 'administrator', 'member', 'restricted', 'left', 'kicked']
636
636
  user: User
637
637
 
638
- # @property
639
- async def is_participant(self) -> bool:
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