message
The message
object available only in email_message_notification.liquid
, it contains following attributes:
Object Fields
Field | Data Type | Description |
---|---|---|
message.content | String | Returns the content of a message |
message.image | Object | Returns an image object of attached image |
message.sender | Object | Returns a hash of sender object with attributes name , email and image_url . |
message.recipient | Object | Returns a hash of recipient object with attributes name , email and image_url . |
message.created_at | Date | Returns a Date of created time, you might format the time with filter |
Code Example
Message sent at {{ message.created_at | date: "%b %d, %Y" }}
Updated about 1 year ago