groups
AsyncGroup
Bases: BaseModel
A user group.
gid: Optional[int]
instance-attribute
members
property
The users in this group.
model_config = ConfigDict(arbitrary_types_allowed=True)
class-attribute
instance-attribute
name: Optional[str]
instance-attribute
add(users)
async
remove(users)
async
update()
async
Update the state of the group by fetching the state from the server.
AsyncGroupMember
A group member.