Railgun

if it ain't broke, we'll break it

User Tools

Site Tools


senses:types:message

Table of Contents

message

The message table type contains information about a chat message.

id

The id field contains the unique identifier string of a message.

No assumptions should be made about its format other than that its a unique string representing that message.

time

The time field contains an integer representing the milliseconds since January 1st, 1970 at 12:00 AM UTC at which this message was sent.

private

The private field contains a boolean the will be true if this message was received by the bot as a direct message.

text

The text field contains the body text of the message as it was received by the bot from the server.

textClean

The textClean field contains the body text of the message with additional processing to remove special formatting characters.

user

The user field contains a user type table with the details of the user that sent this message.

senses/types/message.txt · Last modified: by flash