> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assistantscenter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Channels Multiple Select

```
DBD.formTypes.channelsMultiSelect(disabled, required, channelTypes = [ChannelType.GuildText], hideNSW, onlyNSFW, hideNoAccess),
```

<ParamField path="disabled" type="boolean" required>
  Indicate if the select should be disabled or not.
</ParamField>

<ParamField path="required" type="boolean" required>
  Indicate if the multiple select should be required or not.
</ParamField>

<ParamField path="channelTypes" type="array" required>
  Types of channels that should be included in the select.
</ParamField>

<ParamField path="hideNSW" type="boolean">
  Indicate if the NSFW channels should be hidden or not.
</ParamField>

<ParamField path="onlyNSFW" type="boolean">
  Indicate if the only NSFW channels should be shown or not.
</ParamField>

<ParamField path="hideNoAccess" type="boolean">
  Indicate if the no access channels should be hidden or not.
</ParamField>

## Data required for getActualSet function

Array of Strings (Channels IDs) | or an empty Array.

## Data returned

Array of Strings (Channels IDs) | or an empty Array.

## Example Usage

```javascript theme={null}
{
    optionId: 'multiple_channels',
    optionName: "Multiple Channels",
    optionDescription: "Select multiple channels from this guild.",
    optionType: DBD.formTypes.channelsMultiSelect(false, true, [ChannelType.GuildText]),
    getActualSet: async ({guild}) => {
        return multiChannels[guild.id] || []; // !
    },
    setNew: async ({guild,newData}) => {
        multiChannels[guild.id] = newData;
        return;
    }
},
```

<img height="200" src="https://mintcdn.com/assistantscenter/e0fzjuWUPc5-sSJC/images/formtypes/dbd-channelsmultipleselect.png?fit=max&auto=format&n=e0fzjuWUPc5-sSJC&q=85&s=a923c2902c8797e4014226528bb01cf1" data-path="images/formtypes/dbd-channelsmultipleselect.png" />
