
    Yi                         S r SSKrSSKJr  SSKJrJr  SSKJ	r	  SSK
Jr  SSKJr  SSKJrJr  SS	KJr  \(       a  SS
KJr   " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      rg)z=This module contains objects related to Telegram video chats.    N)Sequence)TYPE_CHECKINGOptional)TelegramObject)User)parse_sequence_arg)extract_tzinfo_from_defaultsfrom_timestamp)JSONDict)Botc                   J   ^  \ rS rSrSrSrSS.S\\   SS4U 4S jjjrSr	U =r
$ )	VideoChatStarted"   z
This object represents a service message about a video
chat started in the chat. Currently holds no information.

.. versionadded:: 13.4
.. versionchanged:: 20.0
    This class was renamed from ``VoiceChatStarted`` in accordance to Bot API 6.0.
 N
api_kwargsr   returnc                @   > [         TU ]  US9  U R                  5         g Nr   )super__init___freeze)selfr   	__class__s     >/app/.venv/lib/python3.13/site-packages/telegram/_videochat.pyr   VideoChatStarted.__init__.   s    J/    )__name__
__module____qualname____firstlineno____doc__	__slots__r   r   r   __static_attributes____classcell__r   s   @r   r   r   "   s/     I;? hx&8 D  r   r   c                   N   ^  \ rS rSrSrSrSS.S\S\\   SS4U 4S	 jjjr	S
r
U =r$ )VideoChatEnded4   a  
This object represents a service message about a
video chat ended in the chat.

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

.. versionadded:: 13.4
.. versionchanged:: 20.0
    This class was renamed from ``VoiceChatEnded`` in accordance to Bot API 6.0.

Args:
    duration (:obj:`int`): Voice chat duration in seconds.

Attributes:
    duration (:obj:`int`): Voice chat duration in seconds.

)durationNr   r*   r   r   c                p   > [         TU ]  US9  Xl        U R                  4U l        U R	                  5         g r   )r   r   r*   	_id_attrsr   )r   r*   r   r   s      r   r   VideoChatEnded.__init__K   s1     	J/%--)r   )r,   r*   )r   r   r    r!   r"   r#   intr   r   r   r$   r%   r&   s   @r   r(   r(   4   s?    ( I *.	

 X&	

 

 
r   r(   c            	          ^  \ rS rSrSrSrSS.S\\   S\\	   SS4U 4S	 jjjr
\ SS
\\	   S\S   S\S    4U 4S jjj5       rSrU =r$ )VideoChatParticipantsInvitedX   a  
This object represents a service message about new members invited to a video chat.

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

.. versionadded:: 13.4
.. versionchanged:: 20.0
    This class was renamed from ``VoiceChatParticipantsInvited`` in accordance to Bot API 6.0.

Args:
    users (Sequence[:class:`telegram.User`]): New members that were invited to the video chat.

        .. versionchanged:: 20.0
            |sequenceclassargs|

Attributes:
    users (tuple[:class:`telegram.User`]): New members that were invited to the video chat.

        .. versionchanged:: 20.0
            |tupleclassattrs|

)usersNr   r2   r   r   c                   > [         TU ]  US9  [        U5      U l        U R                  4U l        U R                  5         g r   )r   r   r   r2   r,   r   )r   r2   r   r   s      r   r   %VideoChatParticipantsInvited.__init__s   s7     	J/'9%'@
**r   databotr   c                    > U R                  U5      nU(       d  g[        R                  " UR                  S/ 5      U5      US'   [        TU ]  XS9$ ),See :meth:`telegram.TelegramObject.de_json`.Nr2   r5   r6   )_parse_datar   de_listgetr   de_json)clsr5   r6   r   s      r   r=   $VideoChatParticipantsInvited.de_json   sI    
 t$TXXgr%:C@WwD22r   )r,   r2   N)r   r   r    r!   r"   r#   r   r   r   r   r   classmethodr=   r$   r%   r&   s   @r   r0   r0   X   s    0 I *.	
~
 X&	

 

 
 >B
3H%
3,4UO
3	0	1
3 
3r   r0   c            	          ^  \ rS rSrSrSrSS.S\R                  S\\	   SS4U 4S	 jjjr
\ SS
\\	   S\S   S\S    4U 4S jjj5       rSrU =r$ )VideoChatScheduled   a%  This object represents a service message about a video chat scheduled in the chat.

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

.. versionchanged:: 20.0
    This class was renamed from ``VoiceChatScheduled`` in accordance to Bot API 6.0.

Args:
    start_date (:obj:`datetime.datetime`): Point in time (Unix timestamp) when the video
        chat is supposed to be started by a chat administrator

        .. versionchanged:: 20.3
            |datetime_localization|
Attributes:
    start_date (:obj:`datetime.datetime`): Point in time (Unix timestamp) when the video
        chat is supposed to be started by a chat administrator

        .. versionchanged:: 20.3
            |datetime_localization|

)
start_dateNr   rE   r   r   c                p   > [         TU ]  US9  Xl        U R                  4U l        U R	                  5         g r   )r   r   rE   r,   r   )r   rE   r   r   s      r   r   VideoChatScheduled.__init__   s1     	J/(2//+r   r5   r6   r   c                    > U R                  U5      nU(       d  g[        U5      n[        US   US9US'   [        TU ]  XS9$ )r8   NrE   )tzinfor9   )r:   r	   r
   r   r=   )r>   r5   r6   
loc_tzinfor   s       r   r=   VideoChatScheduled.de_json   sL    
 t$ 2#6
+D,>zR\wD22r   )r,   rE   r@   )r   r   r    r!   r"   r#   dtmdatetimer   r   r   rA   r=   r$   r%   r&   s   @r   rC   rC      s    .  I *.	LL X&	
 
  >B3H%3,4UO3	&	'3 3r   rC   )r"   rM   rL   collections.abcr   typingr   r   telegram._telegramobjectr   telegram._userr   telegram._utils.argumentparsingr   telegram._utils.datetimer	   r
   telegram._utils.typesr   telegramr   r   r(   r0   rC   r   r   r   <module>rV      s[   & D  $ * 3  > Q *~ $!^ !H23> 23j63 63r   