Class PlayerSessionRequests.SendPlayerSessionMessageRequest
Send player session message
Namespace: Unity.PSN.PS5.Sessions
Syntax
public class SendPlayerSessionMessageRequest : Request
Properties
Payload
Specify an arbitrary string (e.g., in Base64 or JSON). The amount of data must be at least 1 byte and no greater than 8032 bytes
Declaration
public string Payload { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
SessionId
Player Session ID
Declaration
public string SessionId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
ToAccountId
List of recipients' Account IDs
Declaration
public List<ulong> ToAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| List<UInt64> |
UserId
User ID
Declaration
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
Run()
Declaration
protected override void Run()