IOnlineChat::SendPrivateChat

Kick off request for sending a chat message privately between users

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineChatInterface.h

Include

#include "Interfaces/OnlineChatInterface.h"

Syntax

bool SendPrivateChat
(
    const FUniqueNetId & UserId,
    const FUniqueNetId & RecipientId,
    const FString & MsgBody
)

Remarks

Kick off request for sending a chat message privately between users

Returns

if successfully started the async operation

Parameters

Parameter

Description

UserId

id of user that is sending the message

RecipientId

id of user to send the chat to

MsgBody

plain text of message body

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss