+
    ÁFñjÐi  ã                   ó\  € R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHtHtHt ^ RIHtHtHt ^ RIHt ]'       d   ^ RIHt  ! R R]4      t ! R R]4      t  ! R R]4      t! ! R R]4      t" ! R R]4      t# ! R R]4      t$ ! R R]4      t%R# )z;This module contains the Telegram Business related classes.N)ÚSequence)ÚTYPE_CHECKING©ÚZoneInfo)ÚChat)ÚLocation)ÚSticker)ÚTelegramObject)ÚUser)Úde_json_optionalÚde_list_optionalÚparse_sequence_arg)Úextract_tzinfo_from_defaultsÚfrom_timestampÚget_zone_info©ÚJSONDict)ÚBotc                   óR   a a€ ] tR t^0t oRtRtRRR/V3R lV 3R lllltRtVtV ;t	# )	ÚBusinessBotRightsaS  
This object represents the rights of a business bot.

Objects of this class are comparable in terms of equality.
Two objects of this class are considered equal, if all their attributes are equal.

.. versionadded:: 22.1

Args:
    can_reply (:obj:`bool`, optional): True, if the bot can send and edit messages in the
        private chats that had incoming messages in the last 24 hours.
    can_read_messages (:obj:`bool`, optional): True, if the bot can mark incoming private
        messages as read.
    can_delete_sent_messages (:obj:`bool`, optional): True, if the bot can delete messages
        sent by the bot.
    can_delete_all_messages (:obj:`bool`, optional): True, if the bot can delete all private
        messages in managed chats.
    can_edit_name (:obj:`bool`, optional): True, if the bot can edit the first and last name
        of the business account.
    can_edit_bio (:obj:`bool`, optional): True, if the bot can edit the bio of the
        business account.
    can_edit_profile_photo (:obj:`bool`, optional): True, if the bot can edit the profile
        photo of the business account.
    can_edit_username (:obj:`bool`, optional): True, if the bot can edit the username of the
        business account.
    can_change_gift_settings (:obj:`bool`, optional): True, if the bot can change the privacy
        settings pertaining to gifts for the business account.
    can_view_gifts_and_stars (:obj:`bool`, optional): True, if the bot can view gifts and the
        amount of Telegram Stars owned by the business account.
    can_convert_gifts_to_stars (:obj:`bool`, optional): True, if the bot can convert regular
        gifts owned by the business account to Telegram Stars.
    can_transfer_and_upgrade_gifts (:obj:`bool`, optional): True, if the bot can transfer and
        upgrade gifts owned by the business account.
    can_transfer_stars (:obj:`bool`, optional): True, if the bot can transfer Telegram Stars
        received by the business account to its own account, or use them to upgrade and
        transfer gifts.
    can_manage_stories (:obj:`bool`, optional): True, if the bot can post, edit and delete
        stories on behalf of the business account.

Attributes:
    can_reply (:obj:`bool`): Optional. True, if the bot can send and edit messages in the
        private chats that had incoming messages in the last 24 hours.
    can_read_messages (:obj:`bool`): Optional. True, if the bot can mark incoming private
        messages as read.
    can_delete_sent_messages (:obj:`bool`): Optional. True, if the bot can delete messages
        sent by the bot.
    can_delete_all_messages (:obj:`bool`): Optional. True, if the bot can delete all private
        messages in managed chats.
    can_edit_name (:obj:`bool`): Optional. True, if the bot can edit the first and last name
        of the business account.
    can_edit_bio (:obj:`bool`): Optional. True, if the bot can edit the bio of the
        business account.
    can_edit_profile_photo (:obj:`bool`): Optional. True, if the bot can edit the profile
        photo of the business account.
    can_edit_username (:obj:`bool`): Optional. True, if the bot can edit the username of the
        business account.
    can_change_gift_settings (:obj:`bool`): Optional. True, if the bot can change the privacy
        settings pertaining to gifts for the business account.
    can_view_gifts_and_stars (:obj:`bool`): Optional. True, if the bot can view gifts and the
        amount of Telegram Stars owned by the business account.
    can_convert_gifts_to_stars (:obj:`bool`): Optional. True, if the bot can convert regular
        gifts owned by the business account to Telegram Stars.
    can_transfer_and_upgrade_gifts (:obj:`bool`): Optional. True, if the bot can transfer and
        upgrade gifts owned by the business account.
    can_transfer_stars (:obj:`bool`): Optional. True, if the bot can transfer Telegram Stars
        received by the business account to its own account, or use them to upgrade and
        transfer gifts.
    can_manage_stories (:obj:`bool`): Optional. True, if the bot can post, edit and delete
        stories on behalf of the business account.
NÚ
api_kwargsc                óF  <€ V ^8„  d   QhRS[ R,          RS[ R,          RS[ R,          RS[ R,          RS[ R,          RS[ R,          RS[ R,          R	S[ R,          R
S[ R,          RS[ R,          RS[ R,          RS[ R,          RS[ R,          RS[ R,          RS[R,          /# )é   Ú	can_replyNÚcan_read_messagesÚcan_delete_sent_messagesÚcan_delete_all_messagesÚcan_edit_nameÚcan_edit_bioÚcan_edit_profile_photoÚcan_edit_usernameÚcan_change_gift_settingsÚcan_view_gifts_and_starsÚcan_convert_gifts_to_starsÚcan_transfer_and_upgrade_giftsÚcan_transfer_starsÚcan_manage_storiesr   )Úboolr   )ÚformatÚ__classdict__s   "€ÚH/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_business.pyÚ__annotate__ÚBusinessBotRights.__annotate__‰   sÝ   ø€ ÷ 4ñ 4á˜$•;ð4ñ   $�;ð4ñ #'¨¥+ð	4ñ
 "&¨¥ð4ñ ˜d•{ð4ñ ˜T•kð4ñ !% t¥ð4ñ   $�;ð4ñ #'¨¥+ð4ñ #'¨¥+ð4ñ %)¨4¥Kð4ñ )-¨t­ð4ñ ! 4�Kð4ñ ! 4�Kð4ñ" ˜t•Oñ#4ó    c               ó2  <€ \         SV `  VR 7       Wn        W n        W0n        W@n        WPn        W`n        Wpn        W€n	        W�n
        W n        W°n        WÀn        WÐn        Wàn        V P                  V P                  V P                  V P
                  V P                  V P                  V P                  V P                  V P                  V P                  V P                  V P                  V P                  V P                  3V n        V P#                  4        R# ©)r   N)ÚsuperÚ__init__r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   Ú	_id_attrsÚ_freeze)Úselfr   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r   Ú	__class__s   &&&&&&&&&&&&&&&$€r*   r1   ÚBusinessBotRights.__init__‰   sú   ø€ ô& 	‰Ñ JÐÔ/Ø&/ŒØ.?ÔØ5MÔ%Ø4KÔ$Ø*7ÔØ)5ÔØ3IÔ#Ø.?ÔØ5MÔ%Ø5MÔ%Ø7QÔ'Ø;YÔ+Ø/AÔØ/AÔð �N‰NØ×"Ñ"Ø×)Ñ)Ø×(Ñ(Ø×ÑØ×ÑØ×'Ñ'Ø×"Ñ"Ø×)Ñ)Ø×)Ñ)Ø×+Ñ+Ø×/Ñ/Ø×#Ñ#Ø×#Ñ#ð
ˆŒð" 	�‰Žr-   )r2   r!   r#   r   r   r   r   r   r    r&   r   r   r$   r%   r"   )r!   r#   r   r   r   r   r   r    r&   r   r   r$   r%   r"   )NNNNNNNNNNNNNN)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r1   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r5   r)   s   @@r*   r   r   0   s,   ù‡ € ñEðN€Iñ"4ð" '+÷#4÷ 4ö 4r-   r   c                   óx   a a€ ] tR t^Àt oRtR	tR
RR/V3R lV 3R llllt]R
V3R lV 3R lll4       tRt	Vt
V ;t# )ÚBusinessConnectionaX  
Describes the connection of the bot with a business account.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal if their :attr:`id`, :attr:`user`, :attr:`user_chat_id`, :attr:`date`,
:attr:`rights`, and :attr:`is_enabled` are equal.

.. versionadded:: 21.1
.. versionchanged:: 22.1
    Equality comparison now considers :attr:`rights` instead of ``can_reply``.

.. versionremoved:: 22.3
   Removed argument and attribute ``can_reply`` deprecated  by API 9.0.

Args:
    id (:obj:`str`): Unique identifier of the business connection.
    user (:class:`telegram.User`): Business account user that created the business connection.
    user_chat_id (:obj:`int`): Identifier of a private chat with the user who created the
        business connection.
    date (:obj:`datetime.datetime`): Date the connection was established in Unix time.
    is_enabled (:obj:`bool`): True, if the connection is active.
    rights (:class:`BusinessBotRights`, optional): Rights of the business bot.

        .. versionadded:: 22.1

Attributes:
    id (:obj:`str`): Unique identifier of the business connection.
    user (:class:`telegram.User`): Business account user that created the business connection.
    user_chat_id (:obj:`int`): Identifier of a private chat with the user who created the
        business connection.
    date (:obj:`datetime.datetime`): Date the connection was established in Unix time.
    is_enabled (:obj:`bool`): True, if the connection is active.
    rights (:class:`BusinessBotRights`): Optional. Rights of the business bot.

        .. versionadded:: 22.1
Nr   c                ór   <€ V ^8„  d   QhRS[ RRRS[RS[P                  RS[RS[R,          R	S[R,          /# )
r   ÚidÚuserr
   Úuser_chat_idÚdateÚ
is_enabledÚrightsNr   )ÚstrÚintÚdtmÚdatetimer'   r   r   )r(   r)   s   "€r*   r+   ÚBusinessConnection.__annotate__ï   s^   ø€ ÷ ñ áðð ðñ ð	ñ
 �l‰lðñ ðñ " DÕ(ðñ ˜t•Oñr-   c               ó"  <€ \         SV `  VR 7       Wn        W n        W0n        W@n        WPn        W`n        V P                  V P                  V P                  V P
                  V P                  V P                  3V n        V P                  4        R# r/   )
r0   r1   rD   rE   rF   rG   rH   rI   r2   r3   )	r4   rD   rE   rF   rG   rH   rI   r   r5   s	   &&&&&&&$€r*   r1   ÚBusinessConnection.__init__ï   sv   ø€ ô 	‰Ñ JÐÔ/ØŒØŒ	Ø!-ÔØ"&Œ	Ø *ŒØ06Œð �G‰GØ�I‰IØ×ÑØ�I‰IØ�K‰KØ�O‰Oð
ˆŒð 	�‰Žr-   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotú
Bot | NoneÚreturnrB   r   )r(   r)   s   "€r*   r+   rN     s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBVñ 3r-   c                ó&  <€ V P                  V4      p\        V4      p\        VP                  R4      VR7      VR&   \	        VP                  R4      \
        V4      VR&   \	        VP                  R4      \        V4      VR&   \        SV `!  WR7      # )ú,See :meth:`telegram.TelegramObject.de_json`.rG   ©ÚtzinforE   rI   ©rR   rS   )	Ú_parse_datar   r   Úgetr   r
   r   r0   Úde_json)ÚclsrR   rS   Ú
loc_tzinfor5   s   &&& €r*   r]   ÚBusinessConnection.de_json  s�   ø€ ð �‰˜tÓ$ˆô 2°#Ó6ˆ
ä% d§h¡h¨vÓ&6¸zÔJˆˆV‰Ü'¨¯©°Ó(8¼$ÀÓDˆˆV‰Ü)¨$¯(©(°8Ó*<Ô>OÐQTÓUˆˆX‰ä‰w‰ DˆÓ2Ð2r-   )r2   rG   rD   rH   rI   rE   rF   )rG   rD   rH   rI   rE   rF   ©N©r7   r8   r9   r:   r;   r<   r1   Úclassmethodr]   r=   r>   r?   r@   s   @@r*   rB   rB   À   sD   ù‡ € ñ#ðJ€Iñð '+÷ö ð< ÷3ô 3ó ÷3ð 3r-   rB   c                   ót   a a€ ] tR tRt oRtR
tRR/V3R lV 3R lllt]RV3R lV 3R lll4       tR	t	Vt
V ;t# )ÚBusinessMessagesDeletedi  a8  
This object is received when messages are deleted from a connected business account.

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

.. versionadded:: 21.1

Args:
    business_connection_id (:obj:`str`): Unique identifier of the business connection.
    chat (:class:`telegram.Chat`): Information about a chat in the business account. The bot
        may not have access to the chat or the corresponding user.
    message_ids (Sequence[:obj:`int`]): A list of identifiers of the deleted messages in the
        chat of the business account.

Attributes:
    business_connection_id (:obj:`str`): Unique identifier of the business connection.
    chat (:class:`telegram.Chat`): Information about a chat in the business account. The bot
        may not have access to the chat or the corresponding user.
    message_ids (tuple[:obj:`int`]): A list of identifiers of the deleted messages in the
        chat of the business account.
r   Nc          	      óP   <€ V ^8„  d   QhRS[ RS[RS[S[,          RS[R,          /# )r   Úbusiness_connection_idÚchatÚmessage_idsr   N)rJ   r   r   rK   r   )r(   r)   s   "€r*   r+   Ú$BusinessMessagesDeleted.__annotate__;  s;   ø€ ÷ ñ á #ðñ ðñ ™c•]ð	ñ ˜t•Oñr-   c               óÐ   <€ \         SV `  VR 7       Wn        W n        \	        V4      V n        V P                  V P                  V P
                  3V n        V P                  4        R# r/   )r0   r1   rg   rh   r   ri   r2   r3   )r4   rg   rh   ri   r   r5   s   &&&&$€r*   r1   Ú BusinessMessagesDeleted.__init__;  s\   ø€ ô 	‰Ñ JÐÔ/Ø+AÔ#ØŒ	Ü,>¸{Ó,KˆÔð ×'Ñ'Ø�I‰IØ×Ñð
ˆŒð 	�‰Žr-   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   rR   rS   rT   rU   re   r   )r(   r)   s   "€r*   r+   rj   Q  s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐB[ñ 3r-   c                óŒ   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        SV `  WR7      # )rW   rh   rZ   )r[   r   r\   r   r0   r]   ©r^   rR   rS   r5   s   &&&€r*   r]   ÚBusinessMessagesDeleted.de_jsonP  s?   ø€ ð �‰˜tÓ$ˆä'¨¯©°Ó(8¼$ÀÓDˆˆV‰ä‰w‰ DˆÓ2Ð2r-   )r2   rg   rh   ri   )rg   rh   ri   ra   rb   r@   s   @@r*   re   re     sC   ù‡ € ñð0€Iðð '+÷õ ð* ÷3ô 3ó ÷3ð 3r-   re   c                   óx   a a€ ] tR tRt oRtR
tRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tR	t	Vt
V ;t# )ÚBusinessIntroiZ  aû  
This object contains information about the start page settings of a Telegram Business account.

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

.. versionadded:: 21.1

Args:
    title (:obj:`str`, optional): Title text of the business intro.
    message (:obj:`str`, optional): Message text of the business intro.
    sticker (:class:`telegram.Sticker`, optional): Sticker of the business intro.

Attributes:
    title (:obj:`str`): Optional. Title text of the business intro.
    message (:obj:`str`): Optional. Message text of the business intro.
    sticker (:class:`telegram.Sticker`): Optional. Sticker of the business intro.
Nr   c          	      ój   <€ V ^8„  d   QhRS[ R,          RS[ R,          RS[R,          RS[R,          /# )r   ÚtitleNÚmessageÚstickerr   )rJ   r   r   )r(   r)   s   "€r*   r+   ÚBusinessIntro.__annotate__u  sC   ø€ ÷ ñ á�T�zðñ �t•ðñ ˜4•ð	ñ ˜t•Oñr-   c               ó¼   <€ \         SV `  VR 7       Wn        W n        W0n        V P                  V P                  V P                  3V n        V P                  4        R# r/   )r0   r1   rt   ru   rv   r2   r3   )r4   rt   ru   rv   r   r5   s   &&&&$€r*   r1   ÚBusinessIntro.__init__u  sG   ø€ ô 	‰Ñ JÐÔ/Ø!&Œ
Ø#*ŒØ'.ŒàŸ*™* d§l¡l°D·L±LÐAˆŒà�‰Žr-   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   rR   rS   rT   rU   rr   r   )r(   r)   s   "€r*   r+   rw   ‡  s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À/ñ 3r-   c                óŒ   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        SV `  WR7      # )rW   rv   rZ   )r[   r   r\   r   r0   r]   ro   s   &&&€r*   r]   ÚBusinessIntro.de_json†  s?   ø€ ð �‰˜tÓ$ˆä*¨4¯8©8°IÓ+>ÄÈÓMˆˆY‰ä‰w‰ DˆÓ2Ð2r-   )r2   ru   rv   rt   )ru   rv   rt   )NNNra   rb   r@   s   @@r*   rr   rr   Z  sC   ù‡ € ñð(€Iñð '+÷ö ð" ÷3ô 3ó ÷3ð 3r-   rr   c                   óx   a a€ ] tR tRt oRtR
tRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tR	t	Vt
V ;t# )ÚBusinessLocationi�  a  
This object contains information about the location of a Telegram Business account.

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

.. versionadded:: 21.1

Args:
    address (:obj:`str`): Address of the business.
    location (:class:`telegram.Location`, optional): Location of the business.

Attributes:
    address (:obj:`str`): Address of the business.
    location (:class:`telegram.Location`): Optional. Location of the business.
Nr   c                ó8   <€ V ^8„  d   QhRS[ RRRS[R,          /# )r   ÚaddressÚlocationzLocation | Noner   N)rJ   r   )r(   r)   s   "€r*   r+   ÚBusinessLocation.__annotate__¨  s-   ø€ ÷ ñ áðð $ðñ
 ˜t•Oñr-   c               ó„   <€ \         SV `  VR 7       Wn        W n        V P                  3V n        V P                  4        R# r/   )r0   r1   r€   r�   r2   r3   )r4   r€   r�   r   r5   s   &&&$€r*   r1   ÚBusinessLocation.__init__¨  s5   ø€ ô 	‰Ñ JÐÔ/Ø#ŒØ)1ŒàŸ,™,˜ˆŒà�‰Žr-   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   rR   rS   rT   rU   r~   r   )r(   r)   s   "€r*   r+   r‚   ¸  s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBTñ 3r-   c                óŒ   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        SV `  WR7      # )rW   r�   rZ   )r[   r   r\   r   r0   r]   ro   s   &&&€r*   r]   ÚBusinessLocation.de_json·  s@   ø€ ð �‰˜tÓ$ˆä+¨D¯H©H°ZÓ,@Ä(ÈCÓPˆˆZÑä‰w‰ DˆÓ2Ð2r-   )r2   r€   r�   )r€   r�   ra   rb   r@   s   @@r*   r~   r~   �  sC   ù‡ € ñð$€Iñ
ð
 '+÷ö ð ÷3ô 3ó ÷3ð 3r-   r~   c                   ó˜   a a€ ] tR tRt oRtRtRR/V3R lV 3R llltV3R lR lt]V3R	 lR
 l4       t	]V3R lR l4       t
RtVtV ;t# )ÚBusinessOpeningHoursIntervaliÁ  aø  
This object describes an interval of time during which a business is open.

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

.. versionadded:: 21.1

Examples:
    A day has (24 * 60 =) 1440 minutes, a week has (7 * 1440 =) 10080 minutes.
    Starting the minute's sequence from Monday, example values of
    :attr:`opening_minute`, :attr:`closing_minute` will map to the following day times:

    * Monday - 8am to 8:30pm:
        - ``opening_minute = 480`` :guilabel:`8 * 60`
        - ``closing_minute = 1230`` :guilabel:`20 * 60 + 30`
    * Tuesday - 24 hours:
        - ``opening_minute = 1440`` :guilabel:`24 * 60`
        - ``closing_minute = 2879`` :guilabel:`2 * 24 * 60 - 1`
    * Sunday - 12am - 11:58pm:
        - ``opening_minute = 8640`` :guilabel:`6 * 24 * 60`
        - ``closing_minute = 10078`` :guilabel:`7 * 24 * 60 - 2`

Args:
    opening_minute (:obj:`int`): The minute's sequence number in a week, starting on Monday,
        marking the start of the time interval during which the business is open;
        0 - 7 * 24 * 60.
    closing_minute (:obj:`int`): The minute's
        sequence number in a week, starting on Monday, marking the end of the time interval
        during which the business is open; 0 - 8 * 24 * 60

Attributes:
    opening_minute (:obj:`int`): The minute's sequence number in a week, starting on Monday,
        marking the start of the time interval during which the business is open;
        0 - 7 * 24 * 60.
    closing_minute (:obj:`int`): The minute's
        sequence number in a week, starting on Monday, marking the end of the time interval
        during which the business is open; 0 - 8 * 24 * 60
r   Nc                ó:   <€ V ^8„  d   QhRS[ RS[ RS[R,          /# )r   Úopening_minuteÚclosing_minuter   N)rK   r   )r(   r)   s   "€r*   r+   Ú)BusinessOpeningHoursInterval.__annotate__í  s-   ø€ ÷ ñ áðñ ðñ
 ˜t•Oñr-   c               ó¶   <€ \         SV `  VR 7       Wn        W n        RV n        RV n        V P                  V P                  3V n        V P                  4        R# r/   )r0   r1   r‹   rŒ   Ú_opening_timeÚ_closing_timer2   r3   )r4   r‹   rŒ   r   r5   s   &&&$€r*   r1   Ú%BusinessOpeningHoursInterval.__init__í  sR   ø€ ô 	‰Ñ JÐÔ/Ø#1ÔØ#1Ôà:>ˆÔØ:>ˆÔà×-Ñ-¨t×/BÑ/BÐCˆŒà�‰Žr-   c                ó@   <€ V ^8„  d   QhRS[ RS[S[ S[ S[ 3,          /# )r   ÚminuterU   )rK   Útuple)r(   r)   s   "€r*   r+   r�   ÿ  s*   ø€ ÷ Iñ I¡Cð I©E±#±s¹C°-Õ,@ñ Ir-   c                óR   € VR ,          VR ,          ^<,          VR ,          ^<,          3# )é   © )r4   r“   s   &&r*   Ú_parse_minuteÚ*BusinessOpeningHoursInterval._parse_minuteÿ  s%   € Ø˜$• ¨¥°Õ 3°V¸dµ]ÀRÕ5GÐHÐHr-   c                ó:   <€ V ^8„  d   QhRS[ S[S[S[3,          /# ©r   rU   ©r”   rK   )r(   r)   s   "€r*   r+   r�     ó   ø€ ÷ 
"ñ 
"™e¡C©©c MÕ2ñ 
"r-   c                óv   € V P                   f!   V P                  V P                  4      V n         V P                   # )a/  Convenience attribute. A :obj:`tuple` parsed from :attr:`opening_minute`. It contains
the `weekday`, `hour` and `minute` in the same ranges as :attr:`datetime.datetime.weekday`,
:attr:`datetime.datetime.hour` and :attr:`datetime.datetime.minute`

Returns:
    tuple[:obj:`int`, :obj:`int`, :obj:`int`]:
)r�   r˜   r‹   ©r4   s   &r*   Úopening_timeÚ)BusinessOpeningHoursInterval.opening_time  ó5   € ð ×ÑÒ%Ø!%×!3Ñ!3°D×4GÑ4GÓ!HˆDÔØ×!Ñ!Ð!r-   c                ó:   <€ V ^8„  d   QhRS[ S[S[S[3,          /# r›   rœ   )r(   r)   s   "€r*   r+   r�     r�   r-   c                óv   € V P                   f!   V P                  V P                  4      V n         V P                   # )a/  Convenience attribute. A :obj:`tuple` parsed from :attr:`closing_minute`. It contains
the `weekday`, `hour` and `minute` in the same ranges as :attr:`datetime.datetime.weekday`,
:attr:`datetime.datetime.hour` and :attr:`datetime.datetime.minute`

Returns:
    tuple[:obj:`int`, :obj:`int`, :obj:`int`]:
)r�   r˜   rŒ   rŸ   s   &r*   Úclosing_timeÚ)BusinessOpeningHoursInterval.closing_time  r¢   r-   )r�   r2   r�   rŒ   r‹   )r�   r�   rŒ   r‹   )r7   r8   r9   r:   r;   r<   r1   r˜   Úpropertyr    r¥   r=   r>   r?   r@   s   @@r*   r‰   r‰   Á  s`   ù‡ € ñ'ðR W€Iðð
 '+÷õ ÷$Ið Ið ÷
"ó ð
"ð ÷
"ó ÷
"ð 
"r-   r‰   c                   ó¸   a a€ ] tR tRt oRtRtRR/V3R lV 3R lllt]V3R lR l4       tRV3R	 lR
 llt	V3R lR lt
]RV3R lV 3R lll4       tRtVtV ;t# )ÚBusinessOpeningHoursi  a  
This object describes the opening hours of a business.

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

.. versionadded:: 21.1

Args:
    time_zone_name (:obj:`str`): Unique name of the time zone for which the opening
        hours are defined.
    opening_hours (Sequence[:class:`telegram.BusinessOpeningHoursInterval`]): List of
        time intervals describing business opening hours.

Attributes:
    time_zone_name (:obj:`str`): Unique name of the time zone for which the opening
        hours are defined.
    opening_hours (Sequence[:class:`telegram.BusinessOpeningHoursInterval`]): List of
        time intervals describing business opening hours.
r   Nc                óJ   <€ V ^8„  d   QhRS[ RS[S[,          RS[R,          /# )r   Útime_zone_nameÚopening_hoursr   N)rJ   r   r‰   r   )r(   r)   s   "€r*   r+   Ú!BusinessOpeningHours.__annotate__6  s3   ø€ ÷ ñ áðñ  Ñ <Õ=ðñ
 ˜t•Oñr-   c               ó¼   <€ \         SV `  VR 7       Wn        \        V4      V n        RV n        V P                  V P                  3V n        V P                  4        R# r/   )r0   r1   r«   r   r¬   Ú_cached_zone_infor2   r3   )r4   r«   r¬   r   r5   s   &&&$€r*   r1   ÚBusinessOpeningHours.__init__6  sW   ø€ ô 	‰Ñ JÐÔ/Ø#1ÔÜEWØóF
ˆÔð 37ˆÔà×-Ñ-¨t×/AÑ/AÐBˆŒà�‰Žr-   c                ó    <€ V ^8„  d   QhRS[ /# r›   r   )r(   r)   s   "€r*   r+   r­   J  s   ø€ ÷ &ñ &™Hñ &r-   c                ój   € V P                   f   \        V P                  4      V n         V P                   # ra   )r¯   r   r«   rŸ   s   &r*   Ú
_zone_infoÚBusinessOpeningHours._zone_infoI  s-   € à×!Ñ!Ò)Ü%2°4×3FÑ3FÓ%GˆDÔ"Ø×%Ñ%Ð%r-   c          	      óÄ   <€ V ^8„  d   QhRS[ P                  RS[ P                  S[,          R,          RS[S[S[ P
                  S[ P
                  3,          R3,          /# )r   rG   Ú	time_zoneNrU   .)rL   rG   rY   rJ   r”   rM   )r(   r)   s   "€r*   r+   r­   O  sS   ø€ ÷ <6ñ <6Ù—H‘Hð<6Ù),¯©±cÕ)9¸DÕ)@ð<6á	‰u‘S—\‘\¡3§<¡<Ð/Õ0°#Ð5Õ	6ñ<6r-   c           
     óà  € VP                  4       p. p\        V\        4      '       d   \        V4      pMVf   V P                  pMTpV P
                   EF   pVP                  pVP                  pV^ ,          V8w  d   K,  \        P                  ! VP                  VP                  VP                  V^,          V^,          V P                  R7      P                  V4      p	\        P                  ! VP                  VP                  VP                  V^,          V^,          V P                  R7      P                  V4      p
VP                  Wš34       EK  	  \        \!        VR R7      4      # )a™  Returns the opening hours intervals for a specific day as datetime objects.

.. versionadded:: 22.5

Args:
    date (:obj:`datetime.date`): The date to get opening hours for.
    time_zone (:obj:`datetime.tzinfo` | :obj:`str`, optional): Timezone to use for the
        returned datetime objects. If not specified, then :attr:`time_zone_name` be used.

Returns:
    tuple[tuple[:obj:`datetime.datetime`, :obj:`datetime.datetime`], ...]:
    A tuple of datetime pairs representing opening and closing times for the specified day.
    Each pair consists of ``(opening_time, closing_time)``.
    Returns an empty tuple if there are no opening hours for the given day.
)ÚyearÚmonthÚdayÚhourr“   rY   c                 ó   € V ^ ,          # )é    r—   )Úxs   &r*   Ú<lambda>Ú@BusinessOpeningHours.get_opening_hours_for_day.<locals>.<lambda>‹  s   € ¨q°®tr-   )Úkey)ÚweekdayÚ
isinstancerJ   r   r³   r¬   r    r¥   rL   rM   r¸   r¹   rº   Ú
astimezoneÚappendr”   Úsorted)r4   rG   r¶   Úweek_dayÚresÚ	tz_targetÚintervalÚint_openÚ	int_closeÚresult_int_openÚresult_int_closes   &&&        r*   Úget_opening_hours_for_dayÚ.BusinessOpeningHours.get_opening_hours_for_dayO  s,  € ð& —<‘<“>ˆØˆÜ�i¤×%Ò%Ü$1°)Ó$<‰IØÒØŸ™‰Ià!ˆIà×*Õ*ˆHØ×,Ñ,ˆHØ ×-Ñ-ˆIà˜�{˜hÔ&Ùô "ŸlšlØ—Y‘YØ—j‘jØ—H‘HØ˜a•[Ø •{Ø—‘ô÷ ‰j˜Ó#ð ô  #Ÿ|š|Ø—Y‘YØ—j‘jØ—H‘HØ˜q•\Ø  •|Ø—‘ô ÷ ‰j˜Ó#ð ð �J‰J˜Ð:×;ñ; +ô@ ”V˜C¡^Ô4Ó5Ð5r-   c                ó:   <€ V ^8„  d   QhRS[ P                  RS[/# )r   rM   rU   )rL   rM   r'   )r(   r)   s   "€r*   r+   r­   �  s   ø€ ÷ ñ ¡§¡ð ±ñ r-   c                óŠ  € VP                   f   VP                  V P                  R7      MTP                  V P                  4      pVP	                  4       R,          VP
                  ^<,          ,           VP                  ,           pV P                   F-  pVP                  Tu;8:  d   VP                  8  g   K(    R#  K/  	  R# )ar  Check if the business is open at the specified datetime.

.. versionadded:: 22.5

Args:
    datetime (:obj:`datetime.datetime`): The datetime to check.
        If the object is timezone-naive, it is assumed to be in the
        timezone specified by :attr:`time_zone_name`.

Returns:
    :obj:`bool`: True if the business is open at the specified time, False otherwise.
rX   r–   TF)
rY   Úreplacer³   rÄ   rÂ   r»   r“   r¬   r‹   rŒ   )r4   rM   Údatetime_in_native_tzÚminute_of_weekrÊ   s   &&   r*   Úis_openÚBusinessOpeningHours.is_open�  s«   € ð 9A¿¹Ò8OˆH×Ñ D§O¡OÐÔ4ÐU]ß
‰*�T—_‘_Ó
%ð 	ð "×)Ñ)Ó+¨dÕ2Ø#×(Ñ(¨2Õ-õ.à#×*Ñ*õ+ð 	ð ×*Ô*ˆHØ×&Ñ&¨.ÖR¸8×;RÑ;R×RÚò Sñ +ñ r-   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   rR   rS   rT   rU   r©   r   )r(   r)   s   "€r*   r+   r­   «  s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBXñ 3r-   c                óŒ   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        SV `  WR7      # )rW   r¬   rZ   )r[   r   r\   r‰   r0   r]   ro   s   &&&€r*   r]   ÚBusinessOpeningHours.de_jsonª  sF   ø€ ð �‰˜tÓ$ˆä 0Ø�H‰H�_Ó%Ô'CÀSó!
ˆˆ_Ñô ‰w‰ DˆÓ2Ð2r-   )r¯   r2   r¬   r«   )r¯   r¬   r«   ra   )r7   r8   r9   r:   r;   r<   r1   r§   r³   rÏ   rÖ   rc   r]   r=   r>   r?   r@   s   @@r*   r©   r©     sm   ù‡ € ñð, I€Iðð
 '+÷õ ð& ÷&ó ð&÷
<6ò <6÷|ð ð: ÷3ô 3ó ÷3ð 3r-   r©   )&r;   rM   rL   Úcollections.abcr   Útypingr   Úzoneinfor   Útelegram._chatr   Útelegram._files.locationr   Útelegram._files.stickerr   Útelegram._telegramobjectr	   Útelegram._userr
   Útelegram._utils.argumentparsingr   r   r   Útelegram._utils.datetimer   r   r   Útelegram._utils.typesr   Útelegramr   r   rB   re   rr   r~   r‰   r©   r—   r-   r*   Ú<module>rç      s§   ðñ( Bã Ý $Ý  Ý å Ý -Ý +Ý 3Ý ÷ñ ÷
ñ õ
 +çÝôM˜ô Mô`Y3˜ô Y3ôx;3˜nô ;3ô|33�Nô 33ôl.3�~ô .3ôbY" >ô Y"ôxV3˜>ö V3r-   