fbchat_muqit.User

class fbchat_muqit.User

Bases: Struct

Represents a Facebook User.

__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

alternate_name

The alternate name of the Facebook User

first_name

The first name of the User

gender

Gender of the user.

id

Facebook User's uid

image

The profile picture url of the User

is_blocked

Wether the client blocked or blocked by the User

is_friend

Wether the Client account is friend with the User

name

Facebook User's name

url

Facebook profile url of the User

username

The username of the User

__annotations__

__doc__

__module__

__slots__

__struct_config__

__struct_defaults__

__struct_encode_fields__

__struct_fields__

alternate_name: str | None

The alternate name of the Facebook User

first_name: str

The first name of the User

gender: str

Gender of the user.

id: str

Facebook User’s uid

image: Value | None

The profile picture url of the User

is_blocked: bool

Wether the client blocked or blocked by the User

is_friend: bool

Wether the Client account is friend with the User

name: str

Facebook User’s name

url: str | None

Facebook profile url of the User

username: str

The username of the User