o
    FÆhð	  ã                   @  sd   d dl mZ d dlmZmZ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
ef  ƒZd	S )
é    )Úannotations)ÚTYPE_CHECKINGÚAnyÚOptionalÚUnioné   )ÚChatIdUnionÚInlineKeyboardMarkupÚMessageé   )ÚTelegramMethodc                      s”   e Zd ZU dZeeef ZdZ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rFddddddœd‡ fdd„Z‡  ZS ‡  ZS )ÚStopMessageLiveLocationa@  
    Use this method to stop updating a live location message before *live_period* expires. On success, if the 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#stopmessagelivelocation
    ÚstopMessageLiveLocationNúOptional[str]Úbusiness_connection_idúOptional[ChatIdUnion]Úchat_idúOptional[int]Ú
message_idÚinline_message_idúOptional[InlineKeyboardMarkup]Úreply_markup©r   r   r   r   r   Ú)_StopMessageLiveLocation__pydantic_kwargsr   ÚreturnÚNonec                  s"   t ƒ jd|||||dœ|¤Ž d S )Nr   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   ©Ú	__class__r   ú]/var/www/html/venv/lib/python3.10/site-packages/aiogram/methods/stop_message_live_location.pyr   "   s   û
úz StopMessageLiveLocation.__init__)r   r   r   r   r   r   r   r   r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r
   ÚboolÚ__returning__Ú__api_method__r   Ú__annotations__r   r   r   r   r   r   Ú__classcell__r   r   r    r"   r   	   s,   
 ùür   N)Ú
__future__r   Útypingr   r   r   r   Útypesr   r	   r
   Úbaser   r'   r   r   r   r   r"   Ú<module>   s
     