Message Metadata Model¶
This class repersents A Message’s Metadata, Such as Message sender Id, Message timestamp, Message thread Id etc. This class only passed to some event listeners.
Message Metadata¶
- class fbchat_muqit.MessageData¶
Bases:
StructA message metadata information, including message senderId (The User that triggered the eevnt), thread folder, message id, timestamp etc.
- adminText: str¶
Only received when in a group any admin related actions are done such as Kicking , adding memebers, promoting to admin, approving Users to group etc.
- folder: Value¶
The Thread folder location such as Inbox, Archive etc. Usually It is Inbox
- id: str¶
Id of the message
- sender_id: str | int¶
The user Who sent the message or triggered it
- thread_id: Value¶
The thread Id where the message was sent
- timestamp: str | int¶
The timestamp of the message.
- unsendType: str¶
Wether the message can be unsent or not. Client can only unsent if the value is ‘can_unsend’