docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MessageRequest

    Request schema for message endpoint.

    Inheritance
    object
    MessageRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    • Constructors
      • MessageRequest(string, object)
    • Properties
      • Id
      • Message
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)