diff --git a/Result-HTML-Customization-(Docs-In-Progress).md b/Result-HTML-Customization-(Docs-In-Progress).md new file mode 100644 index 0000000..5d73692 --- /dev/null +++ b/Result-HTML-Customization-(Docs-In-Progress).md @@ -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 diff --git a/Result-HTML-Customization.md b/Result-HTML-Customization.md deleted file mode 100644 index dccffda..0000000 --- a/Result-HTML-Customization.md +++ /dev/null @@ -1,3 +0,0 @@ -# Customization - -To Do \ No newline at end of file