
    Yi                     x    S r SSKJrJr  SSKJr  SSKJr  SSKJ	r	  SSK
Jr  \(       a  SSKJr   " S S	\5      rg
)zPThis module contains the classes that represent Telegram InlineQueryResultVenue.    )TYPE_CHECKINGOptional)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultType)InputMessageContentc            !          ^  \ rS rSrSrSr         SSS.S\S\S\S	\S
\S\\   S\\   S\\	   S\S   S\\   S\\   S\\   S\\
   S\\
   S\\   4U 4S jjjjrSrU =r$ )InlineQueryResultVenue    a)  
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            /supported_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            /supported_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   r	   r   r   r   r   r   r   c                .  > [         TU ]  [        R                  XS9  U R	                  5          X l        X0l        X@l        XPl        X`l	        Xpl
        Xl        Xl        Xl        Xl        Xl        Xl        Xl        S S S 5        g ! , (       d  f       g = f)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                   R/app/.venv/lib/python3.13/site-packages/telegram/_inline/inlinequeryresultvenue.pyr   InlineQueryResultVenue.__init__|   s    ( 	.44bP^^#+M$-N#J 'L 1>2A 2A 4E"@LH]&0=2A 3C! s   AB
B)	NNNNNNNNN)__name__
__module____qualname____firstlineno____doc__	__slots__strfloatr   r   intr   r   __static_attributes____classcell__)r#   s   @r$   r   r       s   IVI. (,)-7;AE)-+/'+)-*.$D" *.#$D$D $D 	$D
 $D $D  }$D "#$D 34$D  ((=>$D "#$D $C=$D  }$D "#$D #3-$D" X&#$D $D    r   N)r*   typingr   r   %telegram._inline.inlinekeyboardmarkupr   "telegram._inline.inlinequeryresultr   telegram._utils.typesr   telegram.constantsr   telegramr	   r    r1   r$   <module>r9      s1   & W * F @ * 4,@D. @Dr1   