org.views.message

Classes

Owner

Functions

render_message(→ str)

link_message(→ str)

view_messages_feed(→ onegov.core.types.JSONObject_ro)

view_messages(→ onegov.core.types.RenderData)

Module Contents

org.views.message.render_message(message: onegov.chat.Message, request: onegov.org.request.OrgRequest, owner: Owner, layout: onegov.org.layout.MessageCollectionLayout) str[source]
class org.views.message.Owner[source]

Bases: NamedTuple

username: str[source]
realname: str | None[source]
property initials: str[source]
property name: str[source]
org.views.message.view_messages_feed(self: onegov.chat.MessageCollection[onegov.chat.Message], request: onegov.org.request.OrgRequest, layout: onegov.org.layout.MessageCollectionLayout | None = None) onegov.core.types.JSONObject_ro[source]
org.views.message.view_messages(self: onegov.chat.MessageCollection[onegov.chat.Message], request: onegov.org.request.OrgRequest, layout: onegov.org.layout.MessageCollectionLayout | None = None) onegov.core.types.RenderData[source]