InlineQueryResultVenue

class pyrogram.types.InlineQueryResultVenue

A venue.

By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.

Parameters:
  • title (``str``) – Title for the result.

  • address (``str``) – Address of the venue.

  • latitude (``float``) – Location latitude in degrees.

  • longitude (``float``) – Location longitude in degrees.

  • id (``str``, *optional*) – Unique identifier for this result, 1-64 bytes. Defaults to a randomly generated UUID4.

  • foursquare_id (``str``, *optional*) – Foursquare identifier of the venue if known.

  • foursquare_type (``str``, *optional*) – Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

  • google_place_id (``str``, *optional*) – Google Places identifier of the venue.

  • google_place_type (``str``, *optional*) – Google Places type of the venue. (See supported types.)

  • reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*) – Inline keyboard attached to the message.

  • input_message_content (:obj:`~pyrogram.types.InputMessageContent`) – Content of the message to be sent instead of the file.

  • thumbnail_url (``str``, *optional*) – Url of the thumbnail for the result.

  • thumbnail_width (``int``, *optional*) – Thumbnail width.

  • thumbnail_height (``int``, *optional*) – Thumbnail height.