Public Member Functions | |
| "Room" | from_raw_json (cls, dict data) |
| bool | __eq__ (self, "Room" other) |
| bool | __ne__ (self, "Room" other) |
| str | __str__ (self) |
Public Attributes | |
| room_id = other.room_id | |
Static Public Attributes | |
| RoomLayoutType | layout | None |
| list | users [User] |
| dict | votes [User, list[User]] | None |
| list | banned_users [User] | None |
| int | last_time_active | None |
| bool | is_full | None |
Protected Member Functions | |
| dict[User, list[User]] | _parse_votes (cls, dict data) |
A class representing room information. Composed of: - room_id (int): The ID of the room. - name (str): The name of the room. - room_type (RoomType): The type of the room. - layout (RoomLayoutType): The layout of the room. - users (list[User]): The users in the room. - votes (dict[User, list[User]]): The votes in the room. - banned_users (list[User]): The banned users in the room. - last_time_active (int): The last time the room was active. - is_full (bool): Whether the room is full.
| bool talkomatic.dataclasses.room.Room.__eq__ | ( | self, | |
| "Room" | other ) |
| bool talkomatic.dataclasses.room.Room.__ne__ | ( | self, | |
| "Room" | other ) |
| "Room" talkomatic.dataclasses.room.Room.from_raw_json | ( | cls, | |
| dict | data ) |
|
static |
|
static |
|
static |