DefaultParams

struct DefaultParams

MiniAppView default parameters

  • Initializes default parameters for MiniAppView

    Declaration

    Swift

    public init(
        config: MiniAppConfig,
        type: MiniAppType,
        appId: String,
        version: String? = nil,
        queryParams: String? = nil
    )

    Parameters

    config

    MiniAppConfig that defines the basic config necessary for MiniAppView

    type

    The type of the MiniApp

    appId

    The appId of the MiniApp

    version

    The version of the MiniApp (optional)

    queryParams

    The query parameters of the MiniApp (optional)