Class MessageRequest
Request schema for message endpoint.
Inherited Members
Namespace: Unity.Services.Apis.Friends
Assembly: solution.dll
Syntax
[Preserve]
public class MessageRequest
Constructors
MessageRequest(string, object)
Initializes a new instance of the MessageRequest class.
Declaration
[Preserve]
public MessageRequest(string id = null, object message = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | id (required). |
object | message | The message to be sent to the target user. The maximum size of the message payload is 10 kilobytes. (required). |
Properties
Id
Gets or Sets Id
Declaration
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
The message to be sent to the target user. The maximum size of the message payload is 10 kilobytes.
Declaration
[Preserve]
public object Message { get; set; }
Property Value
Type | Description |
---|---|
object | The message to be sent to the target user. The maximum size of the message payload is 10 kilobytes. |