Constructors

Properties

Accessors

Constructors

Properties

type: "venue" = ...

Accessors

  • get address(): string
  • Venue address

    Returns string

  • get inputMedia(): TypeInputMedia
  • Input media TL object generated from this object, to be used inside InputMediaLike and TelegramClient.sendMedia

    A few notes:

    • Using this will result in an independent poll, which will not be auto-updated with the current.
    • If this is a quiz, a normal poll will be returned since the client does not know the correct answer.
    • This always returns a non-closed poll, even if the current poll was closed

    Returns TypeInputMedia

  • get location(): Location
  • Geolocation of the venue

    Returns Location

  • get source(): null | VenueSource
  • When available, source from where this venue was acquired

    Returns null | VenueSource

  • get title(): string
  • Venue name

    Returns string