fbchat_muqit.Thread

class fbchat_muqit.Thread

Bases: Struct

A 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

all_participants

A Tuple of User object contains Thread participant's information.

approval_mode

Thread's approval mode.

description

Thread's description

folder

The Thread folder's location (Inbox, Archaive e.g.)

group_approval_queue

A tuple of dict containing the id of the requested and inviter users id.

image

Thread Cover photo

is_joined

Wether the Client is a participant of the Thread.

is_pinned

True if the Thread has a message pinned.

joinable_link

Invite link of the Thread to join.

joinable_mode

Wether join through Link is enabled in Thread

message_count

Total messages sent to the Thread

name

The name of the Thread

participants_nickname

A dict containing Thread participant's user Id as key and nickname as value.

pinned_messages

Pinned messages Id in the Thread

privacy_mode

Thread Privacy

thread_admins

A tuple of Thread admins Id

thread_id

The `Thread`s Id

thread_theme

Thread's theme data

thread_type

Type of the Thread (User, Group, Page e.g.)

__annotations__

__doc__

__module__

__slots__

__struct_config__

__struct_defaults__

__struct_encode_fields__

__struct_fields__

all_participants: Tuple[User]

A Tuple of User object contains Thread participant’s information.

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.

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_id: str

The `Thread`s Id

thread_theme: Dict | None

Thread’s theme data

thread_type: ThreadType

Type of the Thread (User, Group, Page e.g.)