v1.0.0
Latest
2020.3+

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
Syntax
public interface IMessageReceivedEvent

Properties

UserId

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

Declaration
string UserId { get; }
Property Value
TypeDescription
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
TypeDescription
T

The message received.

Type Parameters
NameDescription
T