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 |