/ SDKs / Unreal
SDKs
Chat SDKs Unreal v3
Chat SDKs Unreal
Chat SDKs
Unreal
Version 3

Copy a message

Copy link

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

Copy link
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.