OnboardingPromptOption
Defined in: packages/structures/src/resources.ts:635
An option within a Guild Onboarding Prompt.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new OnboardingPromptOption(
data):OnboardingPromptOption
Defined in: packages/structures/src/resources.ts:642
Parameters
Section titled “Parameters”APIOnboardingPromptOption
Returns
Section titled “Returns”OnboardingPromptOption
Overrides
Section titled “Overrides”Properties
Section titled “Properties”channelIds
Section titled “channelIds”channelIds:
string[]
Defined in: packages/structures/src/resources.ts:636
description
Section titled “description”description:
string|null
Defined in: packages/structures/src/resources.ts:640
emoji:
APIPartialEmoji|undefined
Defined in: packages/structures/src/resources.ts:638
readonlyid:string
Defined in: packages/structures/src/base.ts:12
Inherited from
Section titled “Inherited from”roleIds
Section titled “roleIds”roleIds:
string[]
Defined in: packages/structures/src/resources.ts:637
title:
string
Defined in: packages/structures/src/resources.ts:639
Accessors
Section titled “Accessors”createdAt
Section titled “createdAt”Get Signature
Section titled “Get Signature”get createdAt():
Date
Defined in: packages/structures/src/base.ts:29
Returns the timestamp this snowflake was created at.
Returns
Section titled “Returns”Date
Inherited from
Section titled “Inherited from”createdTimestamp
Section titled “createdTimestamp”Get Signature
Section titled “Get Signature”get createdTimestamp():
number
Defined in: packages/structures/src/base.ts:25
Milliseconds since the Unix epoch at which this snowflake was created.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”BaseStructure.createdTimestamp
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: packages/structures/src/base.ts:21
Returns the snowflake ID as a string.
Returns
Section titled “Returns”string