Navigation
API > API/Plugins > API/Plugins/Party
A modified version of a chat room that only contains two participants - the current user and a private recipient of their messages. This is equivalent to sending a "whisper".
| Name | USocialPrivateMessageChannel |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Chat/SocialPrivateMessageChannel.h |
| Include Path | #include "Chat/SocialPrivateMessageChannel.h" |
Syntax
UCLASS (MinimalAPI)
class USocialPrivateMessageChannel : public USocialChatChannel
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USocialChatChannel → USocialPrivateMessageChannel
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TargetUser | TObjectPtr< USocialUser > | The recipient of the current user's messages | Chat/SocialPrivateMessageChannel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USocialUser & GetTargetUser() |
Chat/SocialPrivateMessageChannel.h |
Overridden from USocialChatChannel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize
(
USocialUser* InSocialUser, |
Chat/SocialPrivateMessageChannel.h | ||
virtual bool SendMessage
(
const FString& Message |
Sends a text message to all other users in this channel. | Chat/SocialPrivateMessageChannel.h |