§
    ¨eîi“  ã                   óæ   — d Z ddlmZ ddlmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ d	e¦  «        Z G d
„ de¦  «        Z G d„ de¦  «        Z	 G d„ de¦  «        Z
 G d„ de¦  «        ZdS )z>This module contains objects related to Telegram forum topics.é    )ÚTelegramObject)ÚJSONDictc                   ó^   ‡ — e Zd ZdZdZ	 	 dddœdededededz  d	edz  d
edz  fˆ fd„Z	ˆ xZ
S )Ú
ForumTopicap  
    This object represents a forum topic.

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

    .. versionadded:: 20.0

    Args:
        message_thread_id (:obj:`int`): Unique identifier of the forum topic
        name (:obj:`str`): Name of the topic
        icon_color (:obj:`int`): Color of the topic icon in RGB format
        icon_custom_emoji_id (:obj:`str`, optional): Unique identifier of the custom emoji shown
            as the topic icon.
        is_name_implicit (:obj:`bool`, optional): :obj:`True`, if the name of the topic wasn't
            specified explicitly by its creator and likely needs to be changed by the bot.

            .. versionadded:: 22.6

    Attributes:
        message_thread_id (:obj:`int`): Unique identifier of the forum topic
        name (:obj:`str`): Name of the topic
        icon_color (:obj:`int`): Color of the topic icon in RGB format
        icon_custom_emoji_id (:obj:`str`): Optional. Unique identifier of the custom emoji shown
            as the topic icon.
        is_name_implicit (:obj:`bool`): Optional. :obj:`True`, if the name of the topic wasn't
            specified explicitly by its creator and likely needs to be changed by the bot.

            .. versionadded:: 22.6
    )Ú
icon_colorÚicon_custom_emoji_idÚis_name_implicitÚmessage_thread_idÚnameN©Ú
api_kwargsr
   r   r   r   r	   r   c                óì   •— t          ¦   «                              |¬¦  «         || _        || _        || _        || _        || _        | j        | j        | j        f| _        |                      ¦   «          d S ©Nr   )	ÚsuperÚ__init__r
   r   r   r   r	   Ú	_id_attrsÚ_freeze)Úselfr
   r   r   r   r	   r   Ú	__class__s          €úX/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_forumtopic.pyr   zForumTopic.__init__B   sl   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/Ø&7ˆÔØˆŒ	Ø)ˆŒØ0DˆÔ!Ø-=ˆÔàÔ0°$´)¸T¼_ÐMˆŒà�Š‰Œˆˆˆó    ©NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__ÚintÚstrÚboolr   r   Ú__classcell__©r   s   @r   r   r      s±   ø€ € € € € ðð ð@€Ið ,0Ø(,ðð '+ðð ð àðð ðð ð	ð
 " D™jðð  ™+ðð ˜t‘Oðð ð ð ð ð ð ð ð ð r   r   c                   óZ   ‡ — e Zd ZdZdZ	 	 dddœdedededz  dedz  d	edz  f
ˆ fd
„Z	ˆ xZ
S )ÚForumTopicCreatedaú  
    This object represents the content of a service message about a new forum topic created in
    the chat.

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

    .. versionadded:: 20.0

    Args:
        name (:obj:`str`): Name of the topic
        icon_color (:obj:`int`): Color of the topic icon in RGB format
        icon_custom_emoji_id (:obj:`str`, optional): Unique identifier of the custom emoji shown
            as the topic icon.
        is_name_implicit (:obj:`bool`, optional): :obj:`True`, if the name of the topic wasn't
            specified explicitly by its creator and likely needs to be changed by the bot.

            .. versionadded:: 22.6

    Attributes:
        name (:obj:`str`): Name of the topic
        icon_color (:obj:`int`): Color of the topic icon in RGB format
        icon_custom_emoji_id (:obj:`str`): Optional. Unique identifier of the custom emoji shown
            as the topic icon.
        is_name_implicit (:obj:`bool`): Optional. :obj:`True`, if the name of the topic wasn't
            specified explicitly by its creator and likely needs to be changed by the bot.

            .. versionadded:: 22.6
    )r   r   r	   r   Nr   r   r   r   r	   r   c                óÒ   •— t          ¦   «                              |¬¦  «         || _        || _        || _        || _        | j        | j        f| _        |                      ¦   «          d S r   )r   r   r   r   r   r	   r   r   )r   r   r   r   r	   r   r   s         €r   r   zForumTopicCreated.__init__y   s_   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/ØˆŒ	Ø)ˆŒØ0DˆÔ!Ø-=ˆÔàœ) T¤_Ð5ˆŒà�Š‰Œˆˆˆr   r   )r   r   r   r   r   r   r   r    r   r   r!   r"   s   @r   r$   r$   X   s§   ø€ € € € € ðð ð< S€Ið ,0Ø(,ðð '+ðð ð àðð ðð " D™jð	ð
  ™+ðð ˜t‘Oðð ð ð ð ð ð ð ð ð r   r$   c                   ó<   ‡ — e Zd ZdZdZddœdedz  ddfˆ fd„Zˆ xZS )ÚForumTopicClosedzš
    This object represents a service message about a forum topic closed in the chat.
    Currently holds no information.

    .. versionadded:: 20.0
    © Nr   r   Úreturnc                ót   •— t          ¦   «                              |¬¦  «         |                      ¦   «          d S r   ©r   r   r   ©r   r   r   s     €r   r   zForumTopicClosed.__init__—   ó/   ø€ Ý‰Œ×Ò JÐÑ/Ô/Ð/à�Š‰Œˆˆˆr   ©r   r   r   r   r   r   r   r!   r"   s   @r   r'   r'   �   óm   ø€ € € € € ðð ð €Ià8<ð ð ð  h°¡oð Àð ð ð ð ð ð ð ð ð ð r   r'   c                   ó<   ‡ — e Zd ZdZdZddœdedz  ddfˆ fd„Zˆ xZS )ÚForumTopicReopenedzœ
    This object represents a service message about a forum topic reopened in the chat.
    Currently holds no information.

    .. versionadded:: 20.0
    r(   Nr   r   r)   c                ót   •— t          ¦   «                              |¬¦  «         |                      ¦   «          d S r   r+   r,   s     €r   r   zForumTopicReopened.__init__§   r-   r   r.   r"   s   @r   r1   r1   �   r/   r   r1   c            	       óR   ‡ — e Zd ZdZdZ	 	 d	ddœdedz  dedz  dedz  fˆ fd„Zˆ xZS )
ÚForumTopicEditedaI  
    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 :attr:`name` and :attr:`icon_custom_emoji_id` are equal.

    .. versionadded:: 20.0

    Args:
        name (:obj:`str`, optional): New name of the topic, if it was edited.
        icon_custom_emoji_id (:obj:`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.

    Attributes:
        name (:obj:`str`): Optional. New name of the topic, if it was edited.
        icon_custom_emoji_id (:obj:`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.
    )r   r   Nr   r   r   r   c                ó¶   •— t          ¦   «                              |¬¦  «         || _        || _        | j        | j        f| _        |                      ¦   «          d S r   )r   r   r   r   r   r   )r   r   r   r   r   s       €r   r   zForumTopicEdited.__init__Ã   sQ   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/Ø $ˆŒ	Ø0DˆÔ!àœ) TÔ%>Ð?ˆŒà�Š‰Œˆˆˆr   r   )	r   r   r   r   r   r   r   r   r!   r"   s   @r   r4   r4   ­   s’   ø€ € € € € ðð ð& 1€Ið  Ø+/ðð
 '+ðð ð à�D‰jðð " D™jðð
 ˜t‘Oðð ð ð ð ð ð ð ð ð r   r4   c                   ó8   ‡ — e Zd ZdZdZddœdedz  fˆ fd„Zˆ xZS )ÚGeneralForumTopicHiddenz 
    This object represents a service message about General forum topic hidden in the chat.
    Currently holds no information.

    .. versionadded:: 20.0
    r(   Nr   r   c                ót   •— t          ¦   «                              |¬¦  «         |                      ¦   «          d S r   r+   r,   s     €r   r   z GeneralForumTopicHidden.__init__Ý   r-   r   r.   r"   s   @r   r7   r7   Ó   óf   ø€ € € € € ðð ð €Ià8<ð ð ð  h°¡oð ð ð ð ð ð ð ð ð ð r   r7   c                   ó8   ‡ — e Zd ZdZdZddœdedz  fˆ fd„Zˆ xZS )ÚGeneralForumTopicUnhiddenz¢
    This object represents a service message about General forum topic unhidden in the chat.
    Currently holds no information.

    .. versionadded:: 20.0
    r(   Nr   r   c                ót   •— t          ¦   «                              |¬¦  «         |                      ¦   «          d S r   r+   r,   s     €r   r   z"GeneralForumTopicUnhidden.__init__í   r-   r   r.   r"   s   @r   r;   r;   ã   r9   r   r;   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   r$   r'   r1   r4   r7   r;   r(   r   r   ú<module>r?      se  ðð& EÐ Dà 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø *Ð *Ð *Ð *Ð *Ð *ð<ð <ð <ð <ð <�ñ <ô <ð <ð~2ð 2ð 2ð 2ð 2˜ñ 2ô 2ð 2ðjð ð ð ð �~ñ ô ð ð ð ð ð ð ˜ñ ô ð ð #ð #ð #ð #ð #�~ñ #ô #ð #ðLð ð ð ð ˜nñ ô ð ð ð ð ð ð  ñ ô ð ð ð r   