Layer 220
MessageActionTopicCreate
A forum topic was created.
constructor
messageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Title | string | Topic name. |
| IconColor | int | If no custom emoji icon is specified, specifies the color of the fallback topic icon (RGB), one of 0 x 6 FB 9 F 0, 0 x FFD 67 E, 0 x CB 86 DB, 0 x 8 EEE 98, 0 x FF 93 B 2, or 0 x FB 6 F 5 F. |
| IconEmojiId | flags.0?long | ID of the custom emoji used as topic icon. |
Returns
MessageActionGogram Example
// Creating MessageActionTopicCreate constructor obj := &tg.MessageActionTopicCreate{ Title: "...", IconColor: 0, // Optional fields: // IconEmojiId: int64(0), }