o
    Uj&  ã                   @  sX   d dl mZ d dlmZmZ ddlmZmZmZ ddl	m
Z
 G dd„ de
eeB  ƒZd	S )
é    )Úannotations)ÚTYPE_CHECKINGÚAnyé   )ÚChatIdUnionÚInlineKeyboardMarkupÚMessageé   )ÚTelegramMethodc                
      sä   e Zd ZU dZeeB ZdZded< 	 ded< 	 dZ	ded< 	 dZ
d	ed
< 	 dZded< 	 dZded< 	 dZded< 	 dZded< 	 dZded< 	 dZded< 	 dZded< 	 ernddddddddddœ	d‡ fdd„Z‡  ZS ‡  ZS )ÚEditMessageLiveLocationaÕ  
    Use this method to edit live location messages. A location can be edited until its *live_period* expires or editing is explicitly disabled by a call to :class:`aiogram.methods.stop_message_live_location.StopMessageLiveLocation`. On success, if the edited message is not an inline message, the edited :class:`aiogram.types.message.Message` is returned, otherwise :code:`True` is returned.

    Source: https://core.telegram.org/bots/api#editmessagelivelocation
    ÚeditMessageLiveLocationÚfloatÚlatitudeÚ	longitudeNú
str | NoneÚbusiness_connection_idúChatIdUnion | NoneÚchat_idú
int | NoneÚ
message_idÚinline_message_idÚlive_periodúfloat | NoneÚhorizontal_accuracyÚheadingÚproximity_alert_radiusúInlineKeyboardMarkup | NoneÚreply_markup)	r   r   r   r   r   r   r   r   r   Ú)_EditMessageLiveLocation__pydantic_kwargsr   ÚreturnÚNonec                  s.   t ƒ jd|||||||||	|
|dœ|¤Ž d S )N)r   r   r   r   r   r   r   r   r   r   r   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   r   r   r   r   r   r   ©Ú	__class__r!   úc/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/edit_message_live_location.pyr#   .   s   õ
ôz EditMessageLiveLocation.__init__)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    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚboolÚ__returning__Ú__api_method__Ú__annotations__r   r   r   r   r   r   r   r   r   r   r#   Ú__classcell__r!   r!   r%   r'   r   	   sL   
 	óür   N)Ú
__future__r   Útypingr   r   Útypesr   r   r   Úbaser
   r,   r   r!   r!   r!   r'   Ú<module>   s
    