import type * as Whop from "../../../../index.js"; /** * @example * { * id: "id" * } */ export interface UpdateChatChannelsRequest { /** The unique identifier of the chat channel to update. Accepts either an experience ID (e.g. 'exp_xxxxx') or a chat channel ID. */ id: string; /** Whether media uploads such as images and videos are banned in this chat channel. */ ban_media?: boolean | null; /** Whether URLs and links are banned from being posted in this chat channel. */ ban_urls?: boolean | null; /** A list of words that are automatically blocked from messages in this chat channel. For example, ['spam', 'scam']. */ banned_words?: string[] | null; /** The minimum number of seconds a user must wait between sending messages in this chat channel. Pass null or 0 to remove the cooldown. */ user_posts_cooldown_seconds?: number | null; /** Controls which roles are allowed to send messages in this chat channel. */ who_can_post?: Whop.WhoCanPostTypes | null; /** Controls which roles are allowed to add reactions to messages in this chat channel. */ who_can_react?: Whop.WhoCanReactTypes | null; }