togetherusermessage - TogetherGames/Public-Corona-Lua GitHub Wiki

TogetherUserMessage

Together::TogetherUserMessage

Overview

The UserMessage class represents a message sent directly to a User's account.


Members

number UserMessageID

The ID of the UserMessage.

number SourceUserID

The ID of the User that sent the UserMessage. If 0, the UserMessage should be treated as a system message.

number DestinationUserID

The ID of the User the UserMessage was sent to.

string SourceUsername

The Name of the User that sent the UserMessage.

string DestinationUsername

The Name of the User that the UserMessage was sent to.

boolean IsGameIndependent

A boolean indicating whether the UserMessage is not meant for a specific Game only.

string Title

The title of the UserMessage.

string Message

The textual (message) of the UserMessage.

boolean WasRead

A boolean indicating whether the UserMessage was read.

number SecondsSinceCreated

The number of seconds since the UserMessage was created.

number SecondsSinceModified

The number of seconds since the UserMessage was last modified.

number DestinationLastActivityInSeconds

The number of seconds since the User the UserMessage was sent to has been active in a together Game.

number DestinationClientID

The ID of the Client the User the UserMessage was sent to has last played a Game with.

number DestinationGameID

The ID of the Game the User the UserMessage was sent to has last played.

number DestinationPlatformID

The ID of the Platform of the last played Game for the User the UserMessage was sent to.

number SourceLastActivityInSeconds

The number of seconds since the User that sent the UserMessage has been active in a together Game.

number SourceClientID

The ID of the Client the User that sent the UserMessage has last played a Game with.

number SourceGameID

The ID of the Game the User that sent the UserMessage has last played.

number SourcePlatformID

The ID of the Platform of the last played Game for the User that sent the UserMessage.

PropertyCollection Properties

A property collection containing all custom properties for the UserMessage.


⚠️ **GitHub.com Fallback** ⚠️