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.

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

  • google_place_type (str, optional) – Google Places type of the venue.

  • reply_markup (InlineKeyboardMarkup, optional) – Inline keyboard attached to the message.

  • input_message_content (InputMessageContent) – Content of the message to be sent instead of the file.

  • thumb_url (str, optional) – Url of the thumbnail for the result.

  • thumb_width (int, optional) – Thumbnail width.

  • thumb_height (int, optional) – Thumbnail height.