MessageVisibilityOptions

public struct MessageVisibilityOptions

Options that control the visibility and notification behavior of a message

  • Whether this message should trigger a push notification

    Declaration

    Swift

    public var shouldPush: Bool
  • Creates message visibility options

    Declaration

    Swift

    public init(shouldPush: Bool = true)

    Parameters

    shouldPush

    Whether this message should trigger a push notification (default: true)

  • Converts the visibility options to FFI send message options

    Declaration

    Swift

    public func toFfi() -> FfiSendMessageOpts

    Return Value

    FfiSendMessageOpts instance with the appropriate settings