Layer 227
constructor
messageActionTopicCreate#d999256 flags:# title_missing:flags.1?true title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction;

Parameters

Name Type Description
TitleMissing flags .1? true If set, the topic has no user-defined title, can only be set for the per-user topics of bot forums; if this field is set, the topic title likely needs to be changed by the bot.
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

MessageAction

Gogram Example

// Creating MessageActionTopicCreate constructor
obj := &tg.MessageActionTopicCreate{
    TitleMissing: nil,
    Title: "Hello, World!",
    IconColor: 42,
    IconEmojiId: nil,
}