IOnlineChat::IsChatAllowed

Determine if chat is allowed for a given user

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineChatInterface.h"

Syntax

bool IsChatAllowed
(
    const FUniqueNetId & UserId,
    const FUniqueNetId & RecipientId
) const

Remarks

Determine if chat is allowed for a given user

Returns

if chat is allowed

Parameters

Parameter

Description

UserId

id of user that is sending the message

RecipientId

id of user to send the chat to

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