mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-06-04 07:05:33 +00:00
Add description for variables in msgs
@@ -9,15 +9,15 @@ You can design your own WhatsApp conversation page by creating a Jinja template.
|
||||
|
||||
# The "msgs" variable
|
||||
As stated, msgs is a list. Inside the msgs variable, each item in the list is a dict containing the following keys
|
||||
* sender
|
||||
* time
|
||||
* key_id
|
||||
* timestamp
|
||||
* from_me
|
||||
* reply
|
||||
* media
|
||||
* meta
|
||||
* data
|
||||
* quoted_data
|
||||
* mime
|
||||
* caption
|
||||
* sender (str|None): The name or the phone number of the message sender.
|
||||
* time (str): The time of the message being sent. In format "%H:%M".
|
||||
* key_id (str): The message ID in the WhatsApp database.
|
||||
* timestamp (int): The timestamp of the message in second.
|
||||
* from_me (bool): Whether the message is sent by you or the peer(s)
|
||||
* reply (str|None): If the message is replying to some message, this will be the ID of the message being replied.
|
||||
* media (bool): Whether the message is a media.
|
||||
* meta (bool): Whether the message is a metadata. For example, someone join the group.
|
||||
* data (str|None): The actually message or metadata.
|
||||
* quoted_data (str|None): The actually message that being replied.
|
||||
* mime (str|None): The MIME type of the media.
|
||||
* caption (str|None): The caption along with media.
|
||||
|
||||
Reference in New Issue
Block a user