Updated Result HTML Customization (markdown)

Knugi
2022-01-01 12:58:31 +00:00
parent ff3dfa5908
commit 857b7b00e0
2 changed files with 23 additions and 3 deletions

@@ -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