CommitBundle

public struct CommitBundle
extension CommitBundle: Sendable

Information returned when a commit is created.

  • A welcome message, present when there are pending Add proposals.

    Declaration

    Swift

    public var welcome: Welcome?
  • The MLS commit message.

    Declaration

    Swift

    public var commit: Data
  • The GroupInfo associated with this commit.

    Declaration

    Swift

    public var groupInfo: GroupInfoBundle
  • An encrypted message to fan out to all other conversation members in the new epoch.

    Declaration

    Swift

    public var encryptedMessage: Data?
  • Undocumented

    Declaration

    Swift

    public init(
        /**
         * A welcome message, present when there are pending Add proposals.
         */welcome: Welcome?, 
        /**
         * The MLS commit message.
         */commit: Data, 
        /**
         * The `GroupInfo` associated with this commit.
         */groupInfo: GroupInfoBundle, 
        /**
         * An encrypted message to fan out to all other conversation members in the new epoch.
         */encryptedMessage: Data?)