channels.EditForumTopic#

class pyrogram.raw.functions.channels.EditForumTopic#

Edit forum topic; requires manage_topics rights.

Details:
  • Layer: 158

  • ID: F4DFA185

Parameters:
  • channel (InputChannel) – Supergroup.

  • topic_id (int 32-bit) – Topic ID.

  • title (str, optional) – If present, will update the topic title (maximum UTF-8 length: 128).

  • icon_emoji_id (int 64-bit, optional) – If present, updates the custom emoji used as topic icon. Telegram Premium users can use any custom emoji, other users can only use the custom emojis contained in the inputStickerSetEmojiDefaultTopicIcons emoji pack. Pass 0 to switch to the fallback topic icon.

  • closed (bool, optional) – If present, will update the open/closed status of the topic.

  • hidden (bool, optional) – If present, will hide/unhide the topic (only valid for the “General” topic, id=1).

Returns:

Updates