Avatar
The Avatar
class allows you to display an avatar image next to a message instead of the author name.
You need to send the element once. Next if the name of an avatar matches the name of an author, the avatar will be automatically displayed.
You must provide either an url or a path or content bytes.
Attributes
The name of the avatar. This will be used to replace author names.
The remote URL of the avatar image source.
The local file path of the avatar image.
The file content of the avatar image in bytes format.
Example
Was this page helpful?