/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.
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.

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.