import { tl } from '../../../tl/index.js'; import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, Message } from '../../types/index.js'; /** * Create a topic in a forum * * Only admins with `manageTopics` permission can do this. * * @returns Service message for the created topic */ export declare function createForumTopic(client: ITelegramClient, params: { /** Chat ID or username */ chatId: InputPeerLike; /** * Topic title */ title: string; /** * Icon of the topic. * * Can be a number (color in RGB, see {@link ForumTopic} static members for allowed values) * or a custom emoji ID. * * Icon color can't be changed after the topic is created. */ icon?: number | tl.Long; /** * Send as a specific channel */ sendAs?: InputPeerLike; /** * Whether to dispatch the returned service message (if any) * to the client's update handler. */ shouldDispatch?: true; }): Promise;