Skip to content

GramIO API Reference / @gramio/contexts/dist / Venue

Class: Venue ​

Defined in: contexts/index.d.ts:878

This object represents a venue.

Extended by ​

Constructors ​

Constructor ​

new Venue(payload): Venue

Defined in: contexts/index.d.ts:880

Parameters ​

ParameterType
payloadTelegramVenue

Returns ​

Venue

Properties ​

PropertyTypeDefined in
payloadTelegramVenuecontexts/index.d.ts:879

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:882

MDN

Returns ​

string


address ​

Get Signature ​

get address(): string

Defined in: contexts/index.d.ts:888

Address of the venue

Returns ​

string


foursquareId ​

Get Signature ​

get foursquareId(): string

Defined in: contexts/index.d.ts:890

Foursquare identifier of the venue

Returns ​

string


foursquareType ​

Get Signature ​

get foursquareType(): string

Defined in: contexts/index.d.ts:892

Foursquare type of the venue

Returns ​

string


googlePlaceId ​

Get Signature ​

get googlePlaceId(): string

Defined in: contexts/index.d.ts:894

Google Places identifier of the venue

Returns ​

string


googlePlaceType ​

Get Signature ​

get googlePlaceType(): string

Defined in: contexts/index.d.ts:899

Google Places type of the venue. (See supported types.)

Returns ​

string


location ​

Get Signature ​

get location(): Location

Defined in: contexts/index.d.ts:884

Venue location

Returns ​

Location


title ​

Get Signature ​

get title(): string

Defined in: contexts/index.d.ts:886

Name of the venue

Returns ​

string