Layer 220
constructor
messageActionTopicEdit#c0944820 flags:# title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = MessageAction;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Title flags.0?string New topic title.
IconEmojiId flags.1?long ID of the new custom emoji used as topic icon, or if it was removed.
Closed flags.2?Bool Whether the topic was opened or closed.
Hidden flags.3?Bool Whether the topic was hidden or unhidden (only valid for the "General" topic, id=1 ).

Returns

MessageAction

Gogram Example

// Creating MessageActionTopicEdit constructor
obj := &tg.MessageActionTopicEdit{

    // Optional fields:
    // Title: "...",
    // IconEmojiId: int64(0),
    // Closed: true,
    // Hidden: true,
}