Skip to content
Back to top
View this page

# ForumTopicEdited

class telegram.ForumTopicEdited(name=None, icon_custom_emoji_id=None, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  This object represents a service message about an edited forum topic.

  Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their `name` and `icon_custom_emoji_id` are equal.

  Available In

  `telegram.Message.forum_topic_edited`

  Added in version 20.0.

  Parameters:

    - name (`str`, optional) – New name of the topic, if it was edited.

    - icon_custom_emoji_id (`str`, optional) – New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed.

  name

    Optional. New name of the topic, if it was edited.

    Type:

      `str`

  icon_custom_emoji_id

    Optional. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed.

    Type:

      `str`