# channels.createForumTopic

Create a [forum topic](/api/forum.md).

No such method in the current schema.

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **flags** | [\#](/type/%23) | Flags, see [TL conditional fields](/mtproto/TL-combinators.md#conditional-fields) |
| **channel** | [InputChannel](/type/InputChannel.md) | [The forum](/api/forum.md) |
| **title** | [string](/type/string.md) | Topic title (maximum UTF-8 length: 128) |
| **icon\_color** | [flags](/mtproto/TL-combinators.md#conditional-fields).0?[int](/type/int.md) | If no custom emoji icon is specified, specifies the color of the fallback topic icon (RGB), one of `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2`, or `0xFB6F5F`. |
| **icon\_emoji\_id** | [flags](/mtproto/TL-combinators.md#conditional-fields).3?[long](/type/long.md) | ID of the [custom emoji](/api/custom-emoji.md) used as topic icon. [Telegram Premium](/api/premium.md) users can use any custom emoji, other users can only use the custom emojis contained in the [inputStickerSetEmojiDefaultTopicIcons](/constructor/inputStickerSetEmojiDefaultTopicIcons.md) emoji pack. |
| **random\_id** | [long](/type/long.md) | Unique client message ID to prevent duplicate sending of the same event. See [here &raquo;](/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |
| **send\_as** | [flags](/mtproto/TL-combinators.md#conditional-fields).2?[InputPeer](/type/InputPeer.md) | Create the topic as the specified peer |

### Result
[Updates](/type/Updates.md)

### Both users and bots can use this method

### Possible errors

| Code | Type | Description |
| --- | --- | --- |
| 400 | CHANNEL\_FORUM\_MISSING | This supergroup is not a forum. |
| 400 | CHANNEL\_INVALID | The provided channel is invalid. |
| 403 | CHAT\_WRITE\_FORBIDDEN | You can't write in this chat. |
| 403 | PREMIUM\_ACCOUNT\_REQUIRED | A premium account is required to execute this action. |
| 400 | TOPIC\_TITLE\_EMPTY | The specified topic title is empty. |

### Related pages

#### [Forums](/api/forum.md)
Telegram allows creating forums with multiple distinct topics.

#### [Custom emojis](/api/custom-emoji.md)
Telegram allows including animated and static custom emojis inside of messages.

#### [Telegram Premium](/api/premium.md)
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.

#### [inputStickerSetEmojiDefaultTopicIcons](/constructor/inputStickerSetEmojiDefaultTopicIcons.md)
Default [custom emoji](/api/custom-emoji.md) stickerset for [forum topic icons](/api/forum.md#forum-topics)

#### [Admin, banned, default rights](/api/rights.md)
How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.