Hide navigation sidebar
Hide table of contents sidebar
PTB has undergone significant changes in v20. Please read the documentation carefully and also check out the transition guide in the wiki.
Back to top
Toggle table of contents sidebar

# 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`

  New 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`