U
    g                     @   s<   d Z ddlmZ ddlmZ ddlmZ G dd deZdS )zRThis module contains the classes that represent Telegram InputVenueMessageContent.    )Optional)InputMessageContent)JSONDictc                       sV   e Zd ZdZdZdddeeeeee ee ee ee ee d	 fddZ	  Z
S )	InputVenueMessageContentaz  Represents the content of a venue message to be sent as the result of an inline query.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`latitude`, :attr:`longitude` and :attr:`title`
    are equal.

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

    Args:
        latitude (:obj:`float`): Latitude of the location in degrees.
        longitude (:obj:`float`): Longitude of the location in degrees.
        title (:obj:`str`): Name 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>`_.)

    Attributes:
        latitude (:obj:`float`): Latitude of the location in degrees.
        longitude (:obj:`float`): Longitude of the location in degrees.
        title (:obj:`str`): Name 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>`_.)

    )addressfoursquare_idfoursquare_typegoogle_place_idgoogle_place_typelatitude	longitudetitleN
api_kwargs)	r   r   r   r   r   r   r	   r
   r   c	          
   	      sh   t  j|	d |  H || _|| _|| _|| _|| _|| _|| _	|| _
| j| j| jf| _W 5 Q R X d S )Nr   )super__init__Z	_unfrozenr   r   r   r   r   r   r	   r
   Z	_id_attrs)
selfr   r   r   r   r   r   r	   r
   r   	__class__ M/tmp/pip-unpacked-wheel-swnnwir2/telegram/_inline/inputvenuemessagecontent.pyr   N   s    
z!InputVenueMessageContent.__init__)NNNN)__name__
__module____qualname____doc__	__slots__floatstrr   r   r   __classcell__r   r   r   r   r      s&   (    r   N)r   typingr   Z$telegram._inline.inputmessagecontentr   Ztelegram._utils.typesr   r   r   r   r   r   <module>   s   