/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pda_message

Chat message data type, stores data about messages themselves.

Vars

everyoneWhether this message was sent to everyone.
messageThe message itself.
outgoingWhether the message is sent by the user or not.
photo_nameThe name of the photo asset in the SSassets cache, the URL of which is sent to the client.
subtleWhether or not the message is hidden from ghostchat, for when you text about embarrassing stuff
timestampThe station time at which this message was made.

Procs

get_ui_dataReturns an associative list of the message's data, used for ui_data calls.

Var Details

everyone

Whether this message was sent to everyone.

message

The message itself.

outgoing

Whether the message is sent by the user or not.

photo_name

The name of the photo asset in the SSassets cache, the URL of which is sent to the client.

subtle

Whether or not the message is hidden from ghostchat, for when you text about embarrassing stuff

timestamp

The station time at which this message was made.

Proc Details

get_ui_data

Returns an associative list of the message's data, used for ui_data calls.