Ë
    †j¹  ã                   ój   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 erddlmZ  G d„ d	e«      Zy
)zPThis module contains the classes that represent Telegram InlineQueryResultVenue.é    )ÚTYPE_CHECKING)ÚInlineKeyboardMarkup)ÚInlineQueryResult)ÚJSONDict)ÚInlineQueryResultType)ÚInputMessageContentc            !       ó´   ‡ — e Zd ZdZdZ	 	 	 	 	 	 	 	 	 dddœdedededed	ed
edz  dedz  dedz  dddedz  dedz  dedz  dedz  dedz  de	dz  fˆ fd„Z
ˆ xZS )ÚInlineQueryResultVenuea  
    Represents a venue. By default, the venue will be sent by the user. Alternatively, you can
    use :attr:`input_message_content` to send a message with the specified content instead of the
    venue.

    Note:
      Foursquare details and Google Pace details are mutually exclusive. However, this
      behaviour is undocumented and might be changed by Telegram.

    .. versionchanged:: 20.5
        |removed_thumb_wildcard_note|

    Args:
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.
        latitude (:obj:`float`): Latitude of the venue location in degrees.
        longitude (:obj:`float`): Longitude of the venue location in degrees.
        title (:obj:`str`): Title of the venue.
        address (:obj:`str`): Address of the venue.
        foursquare_id (:obj:`str`, optional): Foursquare identifier of the venue if known.
        foursquare_type (:obj:`str`, optional): Foursquare type of the venue, if known.
            (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or
            "food/icecream".)
        google_place_id (:obj:`str`, optional): Google Places identifier of the venue.
        google_place_type (:obj:`str`, optional): Google Places type of the venue. (See
            `supported types <https://developers.google.com/maps/documentation/places/web-service            /place-types>`_.)
        reply_markup (:class:`telegram.InlineKeyboardMarkup`, optional): Inline keyboard attached
            to the message.
        input_message_content (:class:`telegram.InputMessageContent`, optional): Content of the
            message to be sent instead of the venue.
        thumbnail_url (:obj:`str`, optional): Url of the thumbnail for the result.

            .. versionadded:: 20.2
        thumbnail_width (:obj:`int`, optional): Thumbnail width.

            .. versionadded:: 20.2
        thumbnail_height (:obj:`int`, optional): Thumbnail height.

            .. versionadded:: 20.2

    Attributes:
        type (:obj:`str`): :tg-const:`telegram.constants.InlineQueryResultType.VENUE`.
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.
        latitude (:obj:`float`): Latitude of the venue location in degrees.
        longitude (:obj:`float`): Longitude of the venue location in degrees.
        title (:obj:`str`): Title of the venue.
        address (:obj:`str`): Address of the venue.
        foursquare_id (:obj:`str`): Optional. Foursquare identifier of the venue if known.
        foursquare_type (:obj:`str`): Optional. Foursquare type of the venue, if known.
            (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or
            "food/icecream".)
        google_place_id (:obj:`str`): Optional. Google Places identifier of the venue.
        google_place_type (:obj:`str`): Optional. Google Places type of the venue. (See
            `supported types <https://developers.google.com/maps/documentation/places/web-service            /place-types>`_.)
        reply_markup (:class:`telegram.InlineKeyboardMarkup`): Optional. Inline keyboard attached
            to the message.
        input_message_content (:class:`telegram.InputMessageContent`): Optional. Content of the
            message to be sent instead of the venue.
        thumbnail_url (:obj:`str`): Optional. Url of the thumbnail for the result.

            .. versionadded:: 20.2
        thumbnail_width (:obj:`int`): Optional. Thumbnail width.

            .. versionadded:: 20.2
        thumbnail_height (:obj:`int`): Optional. Thumbnail height.

            .. versionadded:: 20.2

    )ÚaddressÚfoursquare_idÚfoursquare_typeÚgoogle_place_idÚgoogle_place_typeÚinput_message_contentÚlatitudeÚ	longitudeÚreply_markupÚthumbnail_heightÚthumbnail_urlÚthumbnail_widthÚtitleN©Ú
api_kwargsÚidr   r   r   r   r   r   r   r   zInputMessageContent | Noner   r   r   r   r   r   c                óF  •— t         ‰| �  t        j                  ||¬«       | j	                  «       5  || _        || _        || _        || _        || _	        || _
        |
| _        || _        || _        |	| _        || _        || _        || _        d d d «       y # 1 sw Y   y xY w)Nr   )ÚsuperÚ__init__r   ÚVENUEÚ	_unfrozenr   r   r   r   r   r   r   r   r   r   r   r   r   )Úselfr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Ú	__class__s                   €úf/var/www/html/datingFans/myenv/lib/python3.12/site-packages/telegram/_inline/inlinequeryresultvenue.pyr   zInlineQueryResultVenue.__init__|   s©   ø€ ô( 	‰ÑÔ.×4Ñ4°bÀZÐÔPØ�^‰^Óñ 	AØ#+ˆDŒMØ$-ˆDŒNØ#ˆDŒJØ 'ˆDŒLð .;ˆDÔØ/>ˆDÔ Ø/>ˆDÔ Ø1BˆDÔ"Ø=IˆDÔØEZˆDÔ&Ø-:ˆDÔØ/>ˆDÔ Ø0@ˆDÔ!÷	A÷ 	Añ 	Aús   ²ABÂB )	NNNNNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__ÚstrÚfloatr   Úintr   r   Ú__classcell__)r!   s   @r"   r
   r
       s  ø„ ñIðV€Ið. %)Ø&*Ø48Ø>BØ&*Ø(,Ø$(Ø&*Ø'+ð$Að" '+ò#$Aàð$Að ð$Að ð	$Að
 ð$Að ð$Að ˜T‘zð$Að ˜t™ð$Að +¨TÑ1ð$Að  <ð$Að ˜t™ð$Að  ™:ð$Að ˜T‘zð$Að ˜t™ð$Að  ™*ð$Að" ˜t‘O÷#$Añ $Aó    r
   N)r&   Útypingr   Ú%telegram._inline.inlinekeyboardmarkupr   Ú"telegram._inline.inlinequeryresultr   Útelegram._utils.typesr   Útelegram.constantsr   Útelegramr   r
   © r,   r"   ú<module>r4      s1   ðñ& Wå  å FÝ @Ý *Ý 4áÝ,ô@AÐ.õ @Ar,   