o
    Uj                     @  st   d dl mZ d dlmZmZ d dlmZ ddlmZ ddl	m
Z
mZmZmZmZ ddlmZ G d	d
 d
ee ZdS )    )annotations)TYPE_CHECKINGAny)Field   )Default)ChatIdUnionMessageReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                      sz  e Zd ZU dZeZdZded< 	 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< 	 e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ddd id!Zded"< 	 eddd id!Zded#< 	 erddddddddeddddddddd$d+ fd)d*Z  ZS   ZS ),SendLocationz
    Use this method to send point on the map. On success, the sent :class:`aiogram.types.message.Message` is returned.

    Source: https://core.telegram.org/bots/api#sendlocation
    sendLocationr   chat_idfloatlatitude	longitudeN
str | Nonebusiness_connection_id
int | Nonemessage_thread_iddirect_messages_topic_idfloat | Nonehorizontal_accuracylive_periodheadingproximity_alert_radiusbool | Nonedisable_notificationprotect_contentbool | Default | Noneallow_paid_broadcastmessage_effect_idSuggestedPostParameters | Nonesuggested_post_parametersReplyParameters | Nonereply_parametersReplyMarkupUnion | Nonereply_markup
deprecatedT)json_schema_extraallow_sending_without_replyreply_to_message_id)r   r   r   r   r   r   r   r    r!   r#   r$   r&   r(   r*   r-   r.   _SendLocation__pydantic_kwargsr   returnNonec                  s   t  jdi d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|| d S )Nr   r   r   r   r   r   r   r   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!   r#   r$   r&   r(   r*   r-   r.   r/   	__class__r2   V/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/send_location.pyr4   M   sP   	

zSendLocation.__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   r$   r   r&   r%   r(   r'   r*   r)   r-   r   r.   r   r/   r   r0   r1   )__name__
__module____qualname____doc__r	   __returning____api_method____annotations__r   r   r   r   r   r   r   r    r   r!   r#   r$   r&   r(   r*   r   r-   r.   r   r4   __classcell__r2   r2   r6   r8   r      sz   
 
r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr   r	   r
   r   r   baser   r   r2   r2   r2   r8   <module>   s    