MessageActionTopicEdit

class pyrogram.raw.types.MessageActionTopicEdit

Forum topic information was edited.

Constructor of MessageAction.

Details:
  • Layer: 223

  • ID: C0944820

Parameters:
  • title (str, optional) – New topic title.

  • icon_emoji_id (int 64-bit, optional) – ID of the new custom emoji used as topic icon, or if it was removed.

  • closed (bool, optional) – Whether the topic was opened or closed.

  • hidden (bool, optional) – Whether the topic was hidden or unhidden (only valid for the “General” topic, id=1).

TL Schema

messageActionTopicEdit#c0944820
flags:#
title:flags.0?string
icon_emoji_id:flags.1?long
closed:flags.2?Bool
hidden:flags.3?Bool

= MessageAction

Parameter Tree

MessageActionTopicEdit
├── titlestring (optional)
├── icon_emoji_idlong (optional)
├── closedBool (optional)
└── hiddenBool (optional)

Example

MessageActionTopicEdit(
)