MessageMediaVenue

class pyrogram.raw.types.MessageMediaVenue

Venue

Constructor of MessageMedia.

Details:
  • Layer: 187

  • ID: 2EC0533F

Parameters:
  • geo (GeoPoint) – Geolocation of venue

  • title (str) – Venue name

  • address (str) – Address

  • provider (str) – Venue provider: currently only “foursquare” and “gplaces” (Google Places) need to be supported

  • venue_id (str) – Venue ID in the provider’s database

  • venue_type (str) – Venue type in the provider’s database

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Get preview of webpage

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info ».