/** * The channel type. */ export declare enum ChatCircleChannelType { /** * Public type. */ Public = 0, /** * Private type. */ Private = 1 } /** * The channel rank type. */ export declare enum ChatCircleChannelRank { /** * The maximum number is 2000 */ R2000 = 0, /** * The maximum number is 20000 */ R20000 = 1, /** * The maximum number is 100000 */ R100000 = 2 } /** * The channel data. */ export declare class ChatCircleChannel { /** * The server ID generated when created. see {@link ChatCircleManager#createServer} */ serverId: string; /** * The channel ID generated when created. see {@link ChatCircleManager#createChannel} */ channelId: string; /** * The channel name. */ channelName: string; /** * The channel description. */ channelDescription?: string; /** * The custom string type parameter. */ channelExtension?: string; /** * Whether it is the default channel. */ isDefaultChannel: boolean; /** * The channel type. */ channelType: ChatCircleChannelType; /** * The channel rank type. */ channelRank: ChatCircleChannelRank; /** * The construct a channel data object. */ constructor(params: { serverId: string; channelId: string; channelName: string; channelDescription?: string; channelExtension?: string; isDefaultChannel: boolean; channelType: ChatCircleChannelType; channelRank: ChatCircleChannelRank; }); } /** * The converter from number to channel type. * * @param type Number type. * * @returns Channel type. */ export declare function ChatCircleChannelTypeFromNumber(type?: number): ChatCircleChannelType | undefined; /** * The converter from number to channel rank type. * * @param rank Number type. * * @returns Rank type. */ export declare function ChatCircleChannelRankFromNumber(rank?: number): ChatCircleChannelRank | undefined;