seyfert
    Preparing search index...

    Class StringSelectMenuInteraction<T>

    Type Parameters

    • T extends any[] = string[]

    Hierarchy

    • {
          api: APIRoutes;
          applicationId: string;
          appPermissions: PermissionsBitField;
          attachmentSizeLimit: number;
          authorizingIntegrationOwners: { "0"?: string; "1"?: string };
          cache: Cache;
          channel: AllChannels;
          client: UsingClient;
          componentType:
              | Button
              | StringSelect
              | UserSelect
              | RoleSelect
              | MentionableSelect
              | ChannelSelect;
          context?: InteractionContextType;
          createdAt: Date;
          createdTimestamp: number;
          customId: string;
          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>;
          rest: ApiHandler;
          token: string;
          type: MessageComponent;
          user: User;
          values: string[];
          version: 1;
          deferReply<WR extends boolean = false>(
              flags?: MessageFlags,
              withResponse?: WR,
          ): Promise<When<WR, WebhookMessage, undefined>>;
          deferUpdate(): Promise<undefined>;
          deleteMessage(messageId: string): Promise<void>;
          deleteResponse(): Promise<void>;
          editMessage(
              messageId: string,
              body: InteractionMessageUpdateBodyRequest,
          ): Promise<WebhookMessage>;
          editOrReply<FR extends boolean = false>(
              body: Omit<
                  APIInteractionResponseCallbackData,
                  "components"
                  | "content"
                  | "embeds"
                  | "poll",
              > & SendResolverProps,
              fetchReply?: FR,
          ): Promise<When<FR, WebhookMessage, void>>;
          editResponse(
              body: InteractionMessageUpdateBodyRequest,
          ): Promise<WebhookMessage>;
          fetchGuild(
              mode?: "rest" | "flow",
          ): Promise<undefined | Guild<"cached" | "api">>;
          fetchGuild(mode: "cache"): ReturnCache<undefined | Guild<"cached">>;
          fetchMessage(messageId: string): Promise<WebhookMessage>;
          fetchResponse(): Promise<WebhookMessage>;
          followup(
              body: Omit<
                  RESTPostAPIWebhookWithTokenJSONBody,
                  "components"
                  | "content"
                  | "embeds"
                  | "poll",
              > & SendResolverProps,
          ): Promise<WebhookMessage>;
          isAutocomplete(): this is AutocompleteInteraction<boolean>;
          isButton(): this is ButtonInteraction;
          isChannelSelectMenu(): this is ChannelSelectMenuInteraction;
          isChatInput(): this is ChatInputCommandInteraction<boolean>;
          isEntryPoint(): this is EntryPointInteraction<boolean>;
          isMentionableSelectMenu(): this is MentionableSelectMenuInteraction;
          isMessage(): this is MessageCommandInteraction<boolean>;
          isModal(): this is ModalSubmitInteraction<boolean>;
          isRoleSelectMenu(): this is RoleSelectMenuInteraction;
          isUser(): this is UserCommandInteraction<boolean>;
          isUserSelectMenu(): this is UserSelectMenuInteraction;
          modal(
              body: ModalCreateBodyRequest,
              options?: undefined,
          ): Promise<undefined>;
          modal(
              body: ModalCreateBodyRequest,
              options: ModalCreateOptions,
          ): Promise<null | ModalSubmitInteraction<boolean>>;
          reply<WR extends boolean = false>(
              body: ReplyInteractionBody,
              withResponse?: WR,
          ): Promise<When<WR, WebhookMessage, undefined>>;
          update(
              data: Omit<
                  APIInteractionResponseCallbackData,
                  "components"
                  | "content"
                  | "embeds",
              > & ResolverProps,
          ): Promise<undefined>;
          write<FR extends boolean = false>(
              body: Omit<
                  APIInteractionResponseCallbackData,
                  "components"
                  | "content"
                  | "embeds"
                  | "poll",
              > & SendResolverProps,
              withResponse?: FR,
          ): Promise<When<FR, WebhookMessage, void>>;
      }
      • StringSelectMenuInteraction
    Index

    Constructors

    • Type Parameters

      • T extends any[] = string[]

      Parameters

      • ...args: any[]

      Returns StringSelectMenuInteraction<T>

    Properties

    applicationId: string
    appPermissions: PermissionsBitField
    attachmentSizeLimit: number
    authorizingIntegrationOwners: { "0"?: string; "1"?: string }
    cache: Cache
    channel: AllChannels
    client: UsingClient
    componentType:
        | Button
        | StringSelect
        | UserSelect
        | RoleSelect
        | MentionableSelect
        | ChannelSelect
    context?: InteractionContextType
    createdAt: Date
    createdTimestamp: number
    customId: string
    data: Omit<
        { componentType: StringSelect; customId: string; values: string[] },
        "values",
    > & { values: T }
    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
    values: T
    version: 1

    Methods

    • Type Parameters

      • WR extends boolean = false

      Parameters

      • Optionalflags: MessageFlags
      • OptionalwithResponse: WR

      Returns Promise<When<WR, WebhookMessage, undefined>>

    • Returns Promise<undefined>

    • Parameters

      • messageId: string

      Returns Promise<void>

    • Returns Promise<void>

    • Parameters

      • messageId: string
      • body: InteractionMessageUpdateBodyRequest

      Returns Promise<WebhookMessage>

    • 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: InteractionMessageUpdateBodyRequest

      Returns Promise<WebhookMessage>

    • Parameters

      • Optionalmode: "rest" | "flow"

      Returns Promise<undefined | Guild<"cached" | "api">>

    • Parameters

      • mode: "cache"

      Returns ReturnCache<undefined | Guild<"cached">>

    • Parameters

      • messageId: string

      Returns Promise<WebhookMessage>

    • Parameters

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

      Returns Promise<WebhookMessage>

    • Parameters

      • body: ModalCreateBodyRequest
      • Optionaloptions: undefined

      Returns Promise<undefined>

    • Parameters

      • body: ModalCreateBodyRequest
      • options: ModalCreateOptions

      Returns Promise<null | ModalSubmitInteraction<boolean>>

    • 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>>