seyfert
    Preparing search index...

    Class SelectMenuInteraction

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    applicationId: string
    appPermissions: PermissionsBitField
    attachmentSizeLimit: number
    authorizingIntegrationOwners: { "0"?: string; "1"?: string }
    channel: AllChannels
    client: UsingClient
    context?: InteractionContextType
    data: ObjectToLower<
        (APIMessageSelectMenuInteractionData | undefined) & APIMessageSelectMenuInteractionData,
    >
    entitlements: Entitlement[]
    guild?: { features: GuildFeature[]; id: string; locale: Locale }
    guildId?: string
    guildLocale?:
        | "id"
        | "en-US"
        | "en-GB"
        | "bg"
        | "zh-CN"
        | "zh-TW"
        | "hr"
        | "cs"
        | "da"
        | "nl"
        | "fi"
        | "fr"
        | "de"
        | "el"
        | "hi"
        | "hu"
        | "it"
        | "ja"
        | "ko"
        | "lt"
        | "no"
        | "pl"
        | "pt-BR"
        | "ro"
        | "ru"
        | "es-ES"
        | "es-419"
        | "sv-SE"
        | "th"
        | "tr"
        | "uk"
        | "vi"
    id: string
    locale:
        | "id"
        | "en-US"
        | "en-GB"
        | "bg"
        | "zh-CN"
        | "zh-TW"
        | "hr"
        | "cs"
        | "da"
        | "nl"
        | "fi"
        | "fr"
        | "de"
        | "el"
        | "hi"
        | "hu"
        | "it"
        | "ja"
        | "ko"
        | "lt"
        | "no"
        | "pl"
        | "pt-BR"
        | "ro"
        | "ru"
        | "es-ES"
        | "es-419"
        | "sv-SE"
        | "th"
        | "tr"
        | "uk"
        | "vi"
    member: undefined | InteractionGuildMember
    message: Message
    replied?:
        | boolean
        | Promise<undefined | boolean | RESTPostAPIInteractionCallbackResult>
    token: string
    type: MessageComponent
    user: User
    version: 1

    Accessors

    • get componentType(): | Button
      | StringSelect
      | UserSelect
      | RoleSelect
      | MentionableSelect
      | ChannelSelect

      Returns
          | Button
          | StringSelect
          | UserSelect
          | RoleSelect
          | MentionableSelect
          | ChannelSelect

    • get createdAt(): Date

      createdAt gets the creation Date instace of the current object.

      Returns Date

    Methods

    • Type Parameters

      • FR extends boolean = false

      Parameters

      • body: Omit<
            APIInteractionResponseCallbackData,
            "components"
            | "content"
            | "embeds"
            | "poll",
        > & SendResolverProps
      • OptionalfetchReply: FR

      Returns Promise<When<FR, WebhookMessage, void>>

    • Parameters

      • body: Omit<
            RESTPostAPIWebhookWithTokenJSONBody,
            "components"
            | "content"
            | "embeds"
            | "poll",
        > & SendResolverProps

      Returns Promise<WebhookMessage>

    • Parameters

      • data: Omit<APIInteractionResponseCallbackData, "components" | "content" | "embeds"> & ResolverProps

      Returns Promise<undefined>

    • Type Parameters

      • FR extends boolean = false

      Parameters

      • body: Omit<
            APIInteractionResponseCallbackData,
            "components"
            | "content"
            | "embeds"
            | "poll",
        > & SendResolverProps
      • OptionalwithResponse: FR

      Returns Promise<When<FR, WebhookMessage, void>>

    • Type Parameters

      • T

      Parameters

      • body:
            | Omit<
                RESTPostAPIChannelMessageJSONBody,
                "components"
                | "content"
                | "embeds"
                | "poll",
            > & SendResolverProps
            | Omit<
                APIInteractionResponseCallbackData,
                "components"
                | "content"
                | "embeds"
                | "poll",
            > & SendResolverProps
            | InteractionMessageUpdateBodyRequest
            | Omit<
                RESTPatchAPIChannelMessageJSONBody,
                "components"
                | "content"
                | "embeds",
            > & ResolverProps
            | Omit<
                RESTPostAPIWebhookWithTokenJSONBody,
                "components"
                | "content"
                | "embeds"
                | "poll",
            > & SendResolverProps
      • files: undefined | RawFile[]
      • self: UsingClient

      Returns T