ExGram.Model.Venue (ex_gram v0.64.0)

Copy Markdown View Source

This object represents a venue.

Check the documentation of this model on Telegram Bot API

  • location: Venue location. Can't be a live location
  • title: Name of the venue
  • address: Address of the venue
  • foursquare_id (optional): Optional. Foursquare identifier of the venue
  • foursquare_type (optional): Optional. Foursquare type of the venue. (For example, "arts_entertainment/default”, "arts_entertainment/aquarium” or "food/icecream”.)
  • google_place_id (optional): Optional. Google Places identifier of the venue
  • google_place_type (optional): Optional. Google Places type of the venue. (See supported types.)

Summary

Types

t()

@type t() :: %ExGram.Model.Venue{
  address: String.t(),
  foursquare_id: String.t() | nil,
  foursquare_type: String.t() | nil,
  google_place_id: String.t() | nil,
  google_place_type: String.t() | nil,
  location: ExGram.Model.Location.t(),
  title: String.t()
}

Functions

decode_as()