Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineMessage
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineMessageInterface.h |
| Include | #include "Interfaces/OnlineMessageInterface.h" |
bool SendMessage
(
int32 LocalUserNum,
const TArray < FUniqueNetIdRef > & RecipientIds,
const FString & MessageType,
const FOnlineMessagePayload & Payload
)
Remarks
Send a message from the currently logged in user to a list of recipients true if request was started
Parameters
| Name | Description |
|---|---|
| LocalUserNum | the controller number of the associated user that made the request |
| RecipientIds | unique ids of users to send this message to |
| MessageType | string representing the type of message |
| Payload | the body/content of the message |