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
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 users are limited to selecting one option for the prompt.
Link copied to clipboard
The type of the prompt.
Functions
Link copied to clipboard
inline fun OnboardingPromptBuilder.option(title: String, builder: OnboardingPromptOptionBuilder.() -> Unit)
Add an option to options.
Link copied to clipboard