Custom messageItem
messageItem(
from,
message,
icon = shiny::icon("user"),
time = NULL,
href = NULL,
inputId = NULL
)
Who the message is from.
Text of the message.
An icon tag, created by icon
.
String representing the time the message was sent. Any string may be used. For example, it could be a relative date/time like "5 minutes", "today", or "12:30pm yesterday", or an absolute time, like "2014-12-01 13:45". If NULL, no time will be displayed.
An optional URL to link to.
If not NULL, this item behaves like an action button.