Chat / Unreal
Current version: v3
Chat Unreal v3
Chat Unreal
Chat
Unreal
Home
/
Chat
/
Unreal
/
Messages

Copy a message

A user can copy and send their own message in the same channel or to another channel.

User messageFile message
channel->CopyUserMessage(MESSAGE_TO_COPY, TARGET_CHANNEL, [](SBDUserMessage* userMessage, SBDError* error) {
    if (error != nullptr) {
        // Handle error.
        return;
    }
});

List of arguments

ArgumentTypeDescription

MESSAGE_TO_COPY

SBDUserMessage* or SBDFileMessage*

Specifies a message to copy.

TARGET_CHANNEL

SBDBaseChannel*

Specifies a target channel to send a copied message to.