mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-25 15:31:38 +00:00
Updated Result HTML Customization (markdown)
23
Result-HTML-Customization-(Docs-In-Progress).md
Normal file
23
Result-HTML-Customization-(Docs-In-Progress).md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Customization
|
||||||
|
You can design your own WhatsApp conversation page by creating a Jinja template.
|
||||||
|
|
||||||
|
# Available variables to access in the template
|
||||||
|
* name (str): The peer or group of the conversation.
|
||||||
|
* msgs (list): A list containing messages-related data including the message itself.
|
||||||
|
* my_avatar (str): Path to the user's avatar.
|
||||||
|
* their_avatar (str): Path to the avatar of the peer or the group of the conversation.
|
||||||
|
|
||||||
|
# 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
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# Customization
|
|
||||||
|
|
||||||
To Do
|
|
||||||
Reference in New Issue
Block a user