Skip to main content

Outgoing


The Outgoing element is a container used in the Doctor App chat module. It visually wraps all sent (user-generated) messages, grouping their attachments, timestamps, and alignment. It mirrors the structure of the Incoming group, but with right alignment and local sender context.


Properties

PropertyValueDescription
TypeGroupUI container that holds nested message elements
GroupChatUsed inside message threads
IdentifierDynamicBased on message ID (e.g. outgoing-1234)
PreviewSee image above
DirectionRightAligned to right side of chat window
AttachmentsDisplays attached files in outgoing messages
ChildrenContains nested components like Viewer, Line
RoleSenderRepresents the user's side in chat UI

SDK Integration

The Outgoing element is used in:


Method: /messages/user-chat

It represents outgoing messages sent by the doctor or user in appointment or support chats. Appears as part of the dynamic chat log rendered from real-time or loaded message data.


Example UI Placement

LevelReferenceTypeValueDescription
2outgoing-{messageId}GroupOutgoing messageContainer for all components per message
3attachment (outgoing)ViewerSent fileShows uploaded or sent file attachment

Notes

  • Always paired with the Incoming group to distinguish between user and receiver.
  • Supports file previews, message bubble styling, and spacing rules.
  • Follows responsive rules across mobile and desktop layouts.