Skip to content

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

Class: VenueAttachment

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

This object represents a venue.

Documentation

Extends

Constructors

Constructor

new VenueAttachment(payload): VenueAttachment

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

Parameters

ParameterType
payloadTelegramVenue

Returns

VenueAttachment

Inherited from

Venue.constructor

Properties

PropertyTypeInherited fromDefined in
attachmentTypeAttachmentTypeAttachment.attachmentTypecontexts/index.d.ts:892
payloadTelegramVenueVenue.payloadcontexts/index.d.ts:863

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string

Inherited from

Venue.[toStringTag]


address

Get Signature

get address(): string

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

Address of the venue

Returns

string

Inherited from

Venue.address


foursquareId

Get Signature

get foursquareId(): string

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

Foursquare identifier of the venue

Returns

string

Inherited from

Venue.foursquareId


foursquareType

Get Signature

get foursquareType(): string

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

Foursquare type of the venue

Returns

string

Inherited from

Venue.foursquareType


googlePlaceId

Get Signature

get googlePlaceId(): string

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

Google Places identifier of the venue

Returns

string

Inherited from

Venue.googlePlaceId


googlePlaceType

Get Signature

get googlePlaceType(): string

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

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

Returns

string

Inherited from

Venue.googlePlaceType


location

Get Signature

get location(): Location

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

Venue location

Returns

Location

Inherited from

Venue.location


title

Get Signature

get title(): string

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

Name of the venue

Returns

string

Inherited from

Venue.title