Quoted messages
Quote previous messages to provide context when responding to older messages in a conversation.
Quote message
Use SetQuotedMessage() on a MessageDraft to attach a quoted message, then call Send() to publish.
Method signature
Refer to the SetQuotedMessage() method for details.
Sample code
Reference code
This example is a self-contained code snippet ready to be run. Set up your Unreal project and follow the instructions in the lines marked with ACTION REQUIRED before running the code. Use it as a reference when working with other examples in this document.
Quote a message using a message draft.
Actor.h
1
Actor.cpp
1
Remove quoted message
To remove a quoted message from a draft, call SetQuotedMessage() with nullptr.
Method signature
Refer to the SetQuotedMessage() method for details.
Sample code
Remove the quoted message from a draft.
1MessageDraft->SetQuotedMessage(nullptr);
Get quoted message
To check which message is currently quoted in a draft, call GetQuotedMessage().
Method signature
Refer to the GetQuotedMessage() method for details.