Struct TextChatMessage
Shows a text message sent into a room.
Inherited Members
Namespace: Unity.Cloud.Presence
Syntax
public struct TextChatMessage
Constructors
TextChatMessage(String, String, DateTime)
Declaration
public TextChatMessage(string senderId, string message, DateTime timestamp)
Parameters
| Type | Name | Description |
|---|---|---|
| String | senderId | |
| String | message | |
| DateTime | timestamp |
Fields
Message
Gets the message.
Declaration
public readonly string Message
Field Value
| Type | Description |
|---|---|
| String |
SenderId
Gets the Id of the message sender.
Declaration
public readonly string SenderId
Field Value
| Type | Description |
|---|---|
| String |
Timestamp
Gets the time the message was received.
Declaration
public readonly DateTime Timestamp
Field Value
| Type | Description |
|---|---|
| DateTime |