mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added fields to ChatMember
This commit is contained in:
parent
e25f9deebd
commit
3fe8133eea
1 changed files with 13 additions and 0 deletions
|
|
@ -38,12 +38,25 @@ This object contains information about one member of a chat.
|
|||
| `is_chat_member` | `#!python bool` | True if the user is member of the chat |
|
||||
|
||||
|
||||
## ChatMemberStatus helper
|
||||
|
||||
This object helps to describe user's status.
|
||||
|
||||
#### Attributes:
|
||||
- CREATOR
|
||||
- ADMINISTRATOR
|
||||
- MEMBER
|
||||
- RESTRICTED
|
||||
- LEFT
|
||||
- KICKED
|
||||
|
||||
|
||||
## Location
|
||||
|
||||
- `from aiogram.types import ChatMember`
|
||||
- `from aiogram.api.types import ChatMember`
|
||||
- `from aiogram.api.types.chat_member import ChatMember`
|
||||
- `from aiogram.api.types.chat_member import ChatMemberStatus`
|
||||
|
||||
## Related pages:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue