Link Search Menu Expand Document

Constructor: messageActionTopicCreate

Back to constructors index

A forum topic was created.

Attributes:

NameTypeRequiredDescription
titlestringYesTopic name.
icon_colorintYesIf 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_idlongOptionalID of the custom emoji used as topic icon.

Type: MessageAction

Example:

$messageActionTopicCreate = ['_' => 'messageActionTopicCreate', 'title' => 'string', 'icon_color' => int, 'icon_emoji_id' => long];