MessageMediaVenue

class pyrogram.raw.types.MessageMediaVenue

Venue.

Constructor type of MessageMedia.

Details
  • Layer: 126

  • ID: 0x2ec0533f

Parameters
  • geo (GeoPoint) – Geolocation of venue.

  • title (str) – Venue name.

  • address (str) – Address.

  • provider (str) – Venue provider: currently only “foursquare” needs to be supported.

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

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

Methods

This object can be returned by 3 methods:

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

Telegram API method.