import { Channel } from './Channel'; import type { Client } from '../client/Client'; import type { Guild } from './Guild'; import type { AnyChannel } from '../managers/ChannelManager'; import type { ChannelType } from '../constants/channelTypes'; export interface ChannelData { name?: string; type?: ChannelType | number; position?: number; topic: string | null; nsfw?: boolean; rate_limit_per_user?: number; bitrate?: number; user_limit?: number; parent_id?: string | null; rtc_region: string | null; video_quality_mode: number | null; } /** * Represents an unknown Guild channel on Discord */ declare class GuildChannel extends Channel { constructor(client: Client, data: any, guild?: Guild); /** * Changes the name of the channel * @param {string} name - The new channel name * @param {string} [reason] - The reason for changing the name * @returns {Promise} */ setName(name: string, reason?: string): Promise; /** * Deletes the channel * @param {string} reason - The reason for deleting this channel * @example * channel.delete('I want to delete this channel'); * @returns {Promise} */ delete(reason?: string): Promise; /** * The time the user was created at * @type {Date} */ get createdAt(): Date; /** * Edits the channel. * @param {RoleData} data The new data for the channel * @param {string} [reason] Reason for editing this channel * @returns {Promise} */ edit(options: ChannelData, reason?: string): Promise; parseData(data: any): any; _update(data: any): GuildChannel; } export { GuildChannel }; //# sourceMappingURL=GuildChannel.d.ts.map