Skip to main content

Incoming


The Incoming element is a visual container for received messages in the Doctor App's chat interface. It wraps text, icons, attachments, and metadata that originate from the other participant in the conversation. On desktop and mobile, it displays on the left and pairs with the Outgoing group to represent two-way communication.


Properties

PropertyValueDescription
TypeGroupLogical container for incoming chat components
GroupTextUsed in the chat layout structure
Identifier26Unique UI element ID
PreviewVisual preview of message with system styling
ValueNot user-editable; shows incoming data only
MandatoryNot required for form logic
ErrorYSupports error indicators (if rendering fails)
MinNo minimum input
MaxLinesAutomatically expands for content length
Read-onlyNot editable
Text, IconYSupports both system text and message iconography
ChildrenYWraps nested components like Viewer and Line
EventYMay trigger UI animations on message receipt
ShadeNo special shading

SDK Integration

The Incoming element is used in the chat interface rendered from:

Method: /messages/user-chat

This route displays historical and live incoming messages from other users or system-generated replies during chat-based support and appointment workflows.


Example UI Placement

LevelReferenceTypeValueDescription
2incoming-{messageId}GroupIncoming containerHolds message, attachments, etc.
3attachment (incoming)ViewerReceived fileDisplays uploaded attachment

Notes

  • Automatically aligns to the left side of the chat window.
  • Frequently used with Caption, Line, and Viewer components.
  • Commonly styled with background and padding to distinguish it from outgoing messages.