Skip to contents

Render the messages for the chat

Usage

render_msg_divs2(texts, users, act_user, time, pretty = TRUE)

Arguments

texts

a character vector with the texts

users

a character vector with the users

act_user

a character with the current user (that is using the app)

time

a datetime object

pretty

a logical that indicates if it should simplify the date

Value

The HTML code containing the chat messages