a
    y{JhK  ã                   @  s`   d dl mZ d dlmZmZmZmZ ddlmZm	Z	 ddl
mZ G dd„ deee	ef  ƒZd	S )
é    )Úannotations)ÚTYPE_CHECKINGÚAnyÚOptionalÚUnioné   )ÚInlineKeyboardMarkupÚMessageé   )ÚTelegramMethodc                      sÆ   e Zd ZU dZeeef 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< er¾ddddddddœdddd	ddd	d	ddddœ‡ fdd„Z‡  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
    ZeditMessageLiveLocationÚfloatÚlatitudeÚ	longitudeNzOptional[Union[int, str]]Úchat_idzOptional[int]Ú
message_idzOptional[str]Úinline_message_idzOptional[float]Úhorizontal_accuracyÚheadingÚproximity_alert_radiuszOptional[InlineKeyboardMarkup]Úreply_markup)r   r   r   r   r   r   r   r   ÚNone)r   r   r   r   r   r   r   r   r   Ú)_EditMessageLiveLocation__pydantic_kwargsÚreturnc       	           s*   t ƒ jf |||||||||	dœ	|
¤Ž d S )N)	r   r   r   r   r   r   r   r   r   )ÚsuperÚ__init__)Z__pydantic__self__r   r   r   r   r   r   r   r   r   r   ©Ú	__class__© ú\/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/edit_message_live_location.pyr   *   s    ÷
öz EditMessageLiveLocation.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   ÚboolZ__returning__Z__api_method__Ú__annotations__r   r   r   r   r   r   r   r   r   Ú__classcell__r   r   r   r   r   	   s*   
	õr   N)Ú
__future__r   Útypingr   r   r   r   Útypesr   r	   Úbaser   r$   r   r   r   r   r   Ú<module>   s   