Channel
Function
Channel option, filterable by type.
from discord_interactions import ChannelSignature
def Channel( name: str, description: str, *, required: bool = True, channel_types: List[int] | None = None, localizations: Dict[str, Tuple[str, str]] | None = None,) -> ChannelOptionParameters
| Name | Type | Default | Description |
|---|---|---|---|
name | str | required | |
description | str | required | |
required | bool | True | |
channel_types | List[int] | None | None | Accepted types, for example ChannelTypes.TEXT_CHANNELS. |
localizations | Dict[str, Tuple[str, str]] | None | None |
Returns
ChannelOption