import type * as Whop from "../index.js"; /** * A real-time chat feed attached to an experience, with configurable moderation and posting permissions. */ export interface ChatChannel { /** Whether media uploads such as images and videos are blocked in this chat. */ ban_media: boolean; /** Whether URL links are blocked from being posted in this chat. */ ban_urls: boolean; /** A list of words that are automatically filtered from messages in this chat. Empty unless the caller has permission to moderate this chat. */ banned_words: string[]; /** The experience this chat feed is attached to. */ experience: ChatChannel.Experience; /** The unique identifier for the entity */ id: string; /** The minimum number of seconds a user must wait between consecutive messages. Null if no cooldown is enforced. */ user_posts_cooldown_seconds: number | null; /** The permission level controlling which users can send messages in this chat. */ who_can_post: Whop.WhoCanPostTypes; /** The permission level controlling which users can add reactions in this chat. */ who_can_react: Whop.WhoCanReactTypes; } export declare namespace ChatChannel { /** * The experience this chat feed is attached to. */ interface Experience { /** The unique identifier for the experience. */ id: string; /** The display name of this experience shown to users in the product navigation. Maximum 255 characters. */ name: string; } }