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 IMessageReceivedEventProperties
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 |