docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IMessageReceivedEvent

    Event triggered when a message is received from another user. Not intended to be used as a chat.

    Namespace: Unity.Services.Friends.Notifications
    Assembly: Unity.Services.Friends.dll
    Syntax
    public interface IMessageReceivedEvent

    Properties

    UserId

    Getter for the identifier of the member whose presence got updated.

    Declaration
    string UserId { get; }
    Property Value
    Type Description
    string

    The identifier of the member whose presence got updated.

    Methods

    GetAs<T>()

    Getter for the message received.

    Declaration
    T GetAs<T>() where T : new()
    Returns
    Type Description
    T

    The message received.

    Type Parameters
    Name Description
    T
    In This Article
    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)