Ë
    †j“  ã                   óº   — 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y)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| _        | j                  «        y ©Nr   )	ÚsuperÚ__init__r
   r   r   r   r	   Ú	_id_attrsÚ_freeze)Úselfr
   r   r   r   r	   r   Ú	__class__s          €úS/var/www/html/datingFans/myenv/lib/python3.12/site-packages/telegram/_forumtopic.pyr   zForumTopic.__init__B   s`   ø€ ô 	‰Ñ JÐÔ/Ø&7ˆÔØˆŒ	Ø)ˆŒØ0DˆÔ!Ø-=ˆÔà×0Ñ0°$·)±)¸T¿_¹_ÐMˆŒà�‰�ó    ©NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__ÚintÚstrÚboolr   r   Ú__classcell__©r   s   @r   r   r      sr   ø„ ñð@€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| _        | j                  «        y r   )r   r   r   r   r   r	   r   r   )r   r   r   r   r	   r   r   s         €r   r   zForumTopicCreated.__init__y   sP   ø€ ô 	‰Ñ JÐÔ/ØˆŒ	Ø)ˆŒØ0DˆÔ!Ø-=ˆÔàŸ)™) T§_¡_Ð5ˆŒà�‰�r   r   )r   r   r   r   r   r   r   r    r   r   r!   r"   s   @r   r$   r$   X   sh   ø„ ñð< 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                óF   •— t         ‰| �  |¬«       | j                  «        y 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'   �   ó.   ø„ ñð €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                óF   •— t         ‰| �  |¬«       | j                  «        y 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| _        | j                  «        y r   )r   r   r   r   r   r   )r   r   r   r   r   s       €r   r   zForumTopicEdited.__init__Ã   sC   ø€ ô 	‰Ñ JÐÔ/Ø $ˆŒ	Ø0DˆÔ!àŸ)™) T×%>Ñ%>Ð?ˆŒà�‰�r   r   )	r   r   r   r   r   r   r   r   r!   r"   s   @r   r4   r4   ­   sS   ø„ ñð& 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                óF   •— t         ‰| �  |¬«       | j                  «        y r   r+   r,   s     €r   r   z GeneralForumTopicHidden.__init__Ý   r-   r   r.   r"   s   @r   r7   r7   Ó   ó'   ø„ ñð €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                óF   •— t         ‰| �  |¬«       | j                  «        y 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?      sh   ðñ& Eå 3Ý *ô<�ô <ô~2˜ô 2ôj�~ô ô ˜ô ô #�~ô #ôL˜nô ô  õ r   