org.views.message ================= .. py:module:: org.views.message Classes ------- .. autoapisummary:: org.views.message.Owner Functions --------- .. autoapisummary:: org.views.message.render_message org.views.message.link_message org.views.message.view_messages_feed org.views.message.view_messages Module Contents --------------- .. py:function:: render_message(message: onegov.chat.Message, request: onegov.org.request.OrgRequest, owner: Owner, layout: onegov.org.layout.MessageCollectionLayout) -> str .. py:function:: link_message(message: onegov.chat.Message, request: onegov.org.request.OrgRequest) -> str .. py:class:: Owner Bases: :py:obj:`NamedTuple` .. py:attribute:: username :type: str .. py:attribute:: realname :type: str | None .. py:property:: initials :type: str .. py:property:: name :type: str .. py:function:: 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 .. py:function:: 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