IOnlineChat::SendRoomChat

Kick off request for sending a chat message to a joined chat room

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineChatInterface.h"

Syntax

bool SendRoomChat
(
    const FUniqueNetId & UserId,
    const FChatRoomId & RoomId,
    const FString & MsgBody
)

Remarks

Kick off request for sending a chat message to a joined chat room

Returns

if successfully started the async operation

Parameters

Parameter

Description

UserId

id of user that is sending the message

RoomId

name of room to send message 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