Raw.MessageActionTopicCreate

Raw.MessageActionTopicCreate

A forum topic was created.

messageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction;
export namespace Raw {
  export class MessageActionTopicCreate {
    constructor(params: { title: string; iconColor: number; iconEmojiId?: bigint }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xd999256

Property

  • title : string

    Topic name.

  • iconColor : number

    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.

  • iconEmojiId : bigint or undefined

    Id of the custom emoji used as topic icon.