Cotal TypeScript packages
    Preparing search index...

    Type Alias Recipient

    Recipient:
        | { channel: string; kind: "channel"; replyTo?: string }
        | { kind: "dm"; to: string }
        | { kind: "peer"; name: string; principal: string; replyTo?: string }
        | { kind: "role"; role: string }

    dm is a typed name or principal the session resolves. peer is an exact principal taken from a received message, sent as is with no name lookup; its name is display only. A replyTo names the message a channel post or a peer DM answers.