Xgenious/ docs

Reply to Message

Users can reply to specific messages, creating threaded conversations with quoted previews.

How to Reply

Sending a Reply

  1. Hover over any message to reveal the reply button
  2. Click the reply button (arrow icon)
  3. A reply bar appears above the message input showing the original message preview
  4. Type your reply message
  5. Send — Your reply appears with a quote of the original message

Cancelling a Reply

  1. Click the X button on the reply bar
  2. The reply is cancelled and the bar disappears

Features

  • Quoted preview — Original message is displayed above your reply
  • Context preservation — Keep track of what you're responding to
  • Threaded conversations — Multiple replies can reference different messages
  • Visual connection — Reply bar shows which message you're responding to
  • Cancel support — Easy to cancel reply before sending

Display

Outgoing Reply

┌─────────────────────────────────┐
│ ┌─ Replying to: ──────────────┐ │
│ │ Hello, how are you?         │ │
│ └─────────────────────────────┘ │
│                                 │
│ I'm doing great, thanks!        │
│                                 │
│ ✓✓ (blue)                 10:30 │
└─────────────────────────────────┘

Incoming Reply

┌─────────────────────────────────┐
│ ┌─ Replied to your message ───┐ │
│ │ What's the project status?  │ │
│ └─────────────────────────────┘ │
│                                 │
│ The project is 80% complete.    │
│                                 │
│                          10:32 │
└─────────────────────────────────┘

Technical Details

Database

The live_chat_messages table includes:

ColumnTypeDescription
reply_tobigint, nullableFK to the original message being replied to

Model Relationship

// LiveChatMessage model
public function replyTo()
{
    return $this->belongsTo(LiveChatMessage::class, 'reply_to');
}

Rendering

  • Original message is fetched via LiveChatMessage::find($message->reply_to)
  • Displayed in a styled preview box above the message bubble
  • Preview is truncated if too long

Use Cases

  • Answering questions — Reply directly to a specific question
  • Clarifying context — Reference the exact message you're responding to
  • Organizing conversations — Keep track of multiple discussion threads
  • Professional communication — Clear context for business discussions

Last updated: September 2026

Still stuck?
Our support team is ready to help you get set up.
Get support