Nadia.InputVenueMessageContent (nadia v1.6.0)

View Source

Typed builder for Telegram InputVenueMessageContent.

Coordinates are validated as ordinary latitude and longitude degree values. Venue text fields must be valid UTF-8; required text fields must be non-empty.

Summary

Types

t()

Typed inline-query content containing a venue.

Functions

Builds venue content for an inline-query result.

Types

options()

@type options() :: keyword() | map()

t()

@opaque t()

Typed inline-query content containing a venue.

Functions

new(latitude, longitude, title, address, options \\ [])

@spec new(number(), number(), binary(), binary(), options()) :: t()

Builds venue content for an inline-query result.

Supported options are :foursquare_id, :foursquare_type, :google_place_id, and :google_place_type. Options whose value is nil are omitted.