Conversations
Properties
Functions
Find or create a DM with an account identity or a handle. Hosts present this as a createDm overload or union. An account or a handle resolves through the verified resolver before the existing DM is looked up.
Delete a message for everyone. Returns the id of the queued deletion message, which publishes with the conversation's next publish. When the message is this installation's and was never sent, it is cancelled instead and the id names the cancelled message; nothing is published.
The DM with an account or a handle, or None. Either resolves through the verified resolver before the DM is looked up.
Capture history with kind and consent selection. A replay from cursor is invalid because this call captures a new atomic replay boundary.
This cold Flow holds its client. Each collection opens a conversation reader.
This cold Flow holds its client before and between collections. Each collection opens a reader. With direct sequential collection, the next read acknowledges the previous message after the collector returns. A buffer or asynchronous operator can let acknowledgement start before downstream work finishes. Cancellation cannot undo an acknowledgement that has started.