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

chat_payload

Stores information about a chat payload

Vars

contentMessage we are sending
resendsResend count
sequenceSequence number of this payload

Procs

get_content_as_htmlReturns an HTML-encoded message from our contents.
into_messageConverts the chat payload into a JSON string

Var Details

content

Message we are sending

resends

Resend count

sequence

Sequence number of this payload

Proc Details

get_content_as_html

Returns an HTML-encoded message from our contents.

into_message

Converts the chat payload into a JSON string