matrix-js-sdk
    Preparing search index...

    Interface InviteOpts

    Options object for MatrixClient.invite.

    interface InviteOpts {
        reason?: string;
        shareEncryptedHistory?: boolean;
    }
    Index

    Properties

    reason?: string

    The reason for the invite.

    shareEncryptedHistory?: boolean

    Before sending the invite, if the room is encrypted, share the keys for any messages sent while the history visibility was shared, via the experimental support for MSC4268. If the room's current history visibility setting is neither shared nor world_readable, history sharing will be disabled to prevent exposing keys for messages sent prior to the visibility restriction.