OnboardingPromptBuilder

class OnboardingPromptBuilder(var type: OnboardingPromptType, var title: String, var singleSelect: Boolean, var required: Boolean, var inOnboarding: Boolean) : RequestBuilder<OnboardingPromptRequest> (source)

Constructors

Link copied to clipboard
constructor(type: OnboardingPromptType, title: String, singleSelect: Boolean, required: Boolean, inOnboarding: Boolean)

Properties

Link copied to clipboard

The ID of the prompt.

Link copied to clipboard

Indicates whether the prompt is present in the onboarding flow. If false, the prompt will only appear in the Channels & Roles tab.

Link copied to clipboard

The options available within the prompt.

Link copied to clipboard

Indicates whether the prompt is required before a user completes the onboarding flow.

Link copied to clipboard

Indicates whether users are limited to selecting one option for the prompt.

Link copied to clipboard

The title of the prompt.

Link copied to clipboard

The type of the prompt.

Functions

Link copied to clipboard

Add an option to options.

Link copied to clipboard
open override fun toRequest(): OnboardingPromptRequest