ReadonlybackGoes back, as the system back does: closes this screen and answers the screen below it, typed as the screens that can open this one.
ReadonlycheckpointTakes a checkpoint of the process with this screen on top: what a fresh
process needs to continue from it (restoreCheckpoint), the stack below
included, without opening any screen again.
ReadonlydataWhat the screen shows: its data, as its data schema types it.
ReadonlyidWhich screen this is: its id in the screen catalog (an item's: its item id).
ReadonlykindWhat kind of thing the screen is: a screen, a tab, an inner tab, a feed or an item.
ReadonlymediaThe photos, videos and carousels shared in the conversation, told apart by media_type.
ReadonlymessagesThe conversation's messages, in the server's order.
ReadonlyopenTaps Customize chat and opens that screen for this conversation. Answers its handle.
ReadonlyopenTaps the composer's "+" and opens it on AI images: the Imagine flow. Answers its handle.
ReadonlyopenTaps the composer's "+" and opens it on the gallery: the photo and video picker. Answers its handle.
ReadonlyopenTaps the composer's "+" and opens it on stickers: the sticker tray. Answers its handle.
ReadonlyopenTaps the conversation's name at the top and opens the thread's details. Answers their handle.
ReadonlyoriginThe handle this one was opened from: the screen (or the item of its list)
whose call opened it, typed as what can open this screen; undefined for a
launch's or a tab's root.
ReadonlyparticipantsThe people in the conversation.
ReadonlypipePasses the handle through the functions you give, left to right: handle.pipe(f, g) is g(f(handle)).
ReadonlyrawThe answers this visit received from the server, before any decoding; empty on a handle a checkpoint rebuilt.
ReadonlysendTypes a message and taps Send: sends text to the conversation — a text, or, when the text carries a
URL, a link message, as the composer decides by the text. Answers the sent message.
ReadonlysendRecords a voice message in the composer and sends it: file is the take, waveform its samples (measured
from the take when you give none). Answers the sent message.
ReadonlytailWaits until the background work handed over while this screen was entered
has finished: a launch returns once the feed is drawn and keeps sending the
rest of its requests in the process's background, and yield* feed.tail
waits for them. A screen that handed over nothing — and a handle a
checkpoint rebuilt, whose handed-over fibers belonged to the process that
took the checkpoint — has a tail that is already complete.
One request's ordinary failure is that request's outcome and does not fail
the tail; a session-fatal answer (a checkpoint, a lost login, a suspended
or disabled account) fails it with the same typed error, as it ends the
process. Not waiting for it changes nothing, and interrupting the wait
interrupts nothing the process runs. Inside an action or an otherwise
branch (the process's screen turn) it returns at once, like the wait for
the whole background.
ReadonlytoThe handle as JSON: its data.
The handle of DirectThreadScreen: what you hold while the screen is open — its
data, its actions (DirectThreadActions) and its lists (DirectThreadItems).