GramIO API Reference / @gramio/contexts/dist / VenueAttachment
Class: VenueAttachment
Defined in: contexts/index.d.ts:1125
This object represents a venue.
Extends
Constructors
Constructor
new VenueAttachment(
payload):VenueAttachment
Defined in: contexts/index.d.ts:880
Parameters
| Parameter | Type |
|---|---|
payload | TelegramVenue |
Returns
VenueAttachment
Inherited from
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
attachmentType | AttachmentType | Attachment.attachmentType | contexts/index.d.ts:1126 |
payload | TelegramVenue | Venue.payload | contexts/index.d.ts:879 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:882
Returns
string
Inherited from
address
Get Signature
get address():
string
Defined in: contexts/index.d.ts:888
Address of the venue
Returns
string
Inherited from
foursquareId
Get Signature
get foursquareId():
string
Defined in: contexts/index.d.ts:890
Foursquare identifier of the venue
Returns
string
Inherited from
foursquareType
Get Signature
get foursquareType():
string
Defined in: contexts/index.d.ts:892
Foursquare type of the venue
Returns
string
Inherited from
googlePlaceId
Get Signature
get googlePlaceId():
string
Defined in: contexts/index.d.ts:894
Google Places identifier of the venue
Returns
string
Inherited from
googlePlaceType
Get Signature
get googlePlaceType():
string
Defined in: contexts/index.d.ts:899
Google Places type of the venue. (See supported types.)
Returns
string
Inherited from
location
Get Signature
get location():
Location
Defined in: contexts/index.d.ts:884
Venue location
Returns
Inherited from
title
Get Signature
get title():
string
Defined in: contexts/index.d.ts:886
Name of the venue
Returns
string