fbchat_muqit.Thread¶
- class fbchat_muqit.Thread¶
Bases:
StructA Thread could be either User, Group, Community
- __init__()¶
Methods
__copy__copy a struct
__delattr__(name, /)Implement delattr(self, name).
__dir__()Default dir() implementation.
__eq__(value, /)Return self==value.
__format__(format_spec, /)Default object formatter.
__ge__(value, /)Return self>=value.
__getattribute__(name, /)Return getattr(self, name).
__getstate__()Helper for pickle.
__gt__(value, /)Return self>value.
__hash__()Return hash(self).
__init__()__init_subclass__This method is called when a class is subclassed.
__le__(value, /)Return self<=value.
__lt__(value, /)Return self<value.
__ne__(value, /)Return self!=value.
__new__(*args, **kwargs)__reduce__reduce a struct
__reduce_ex__(protocol, /)Helper for pickle.
__replace__create a new struct with replacements
__repr__()Return repr(self).
__rich_repr__rich repr
__setattr__(name, value, /)Implement setattr(self, name, value).
__sizeof__()Size of object in memory, in bytes.
__str__()Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
Attributes
A Tuple of User object contains Thread participant's information.
Thread's approval mode.
Thread's description
The Thread folder's location (Inbox, Archaive e.g.)
A tuple of dict containing the id of the requested and inviter users id.
Thread Cover photo
Wether the Client is a participant of the Thread.
True if the Thread has a message pinned.
Invite link of the Thread to join.
Wether join through Link is enabled in Thread
Total messages sent to the Thread
The name of the Thread
A dict containing Thread participant's user Id as key and nickname as value.
Pinned messages Id in the Thread
Thread Privacy
A tuple of Thread admins Id
The `Thread`s Id
Thread's theme data
Type of the Thread (User, Group, Page e.g.)
__annotations____doc____module____slots____struct_config____struct_defaults____struct_encode_fields____struct_fields__- approval_mode: int¶
Thread’s approval mode. when value is 1 approval mode is on else off
- description: str | None¶
Thread’s description
- folder: ThreadFolder¶
The Thread folder’s location (Inbox, Archaive e.g.)
- group_approval_queue: Tuple[Dict]¶
A tuple of dict containing the id of the requested and inviter users id.
- image: str | None¶
Thread Cover photo
- is_joined: bool¶
Wether the Client is a participant of the Thread.
- is_pinned: bool¶
True if the Thread has a message pinned.
- joinable_link: str | None¶
Invite link of the Thread to join.
- joinable_mode: int¶
Wether join through Link is enabled in Thread
- message_count: int¶
Total messages sent to the Thread
- name: str¶
The name of the Thread
- participants_nickname: Dict[str, str] | None¶
A dict containing Thread participant’s user Id as key and nickname as value.
- pinned_messages: List | None¶
Pinned messages Id in the Thread
- privacy_mode: int¶
Thread Privacy
- thread_admins: Tuple[str]¶
A tuple of Thread admins Id
- thread_theme: Dict | None¶
Thread’s theme data
- thread_type: ThreadType¶
Type of the Thread (User, Group, Page e.g.)