OptionalreasonThe reason for the invite.
Optional ExperimentalshareBefore 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.
Options object for MatrixClient.invite.