fbchat_muqit.ImageAttachment¶
- class fbchat_muqit.ImageAttachment¶
Bases:
StructImage attachment with preview and dimensions.
- __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
The filename of the Image.
The Image Id of the Attachment.
The preview of the image for desktop.
The height and weight of the image.
The extension of the Image, such as jpg, png
The preview of the image.
wether sent as Sticker or not
The original Image probably.
Type of the attachment.
__annotations____doc____module____slots____struct_config____struct_defaults____struct_encode_fields____struct_fields__- filename: str¶
The filename of the Image.
- id: str¶
The Image Id of the Attachment. The Id can be used to send picture without uploading to Facebook server.
- original_extension: str¶
The extension of the Image, such as jpg, png
- render_as_sticker: bool¶
wether sent as Sticker or not
- type: AttachmentType¶
Type of the attachment.