GramIO API Reference / @gramio/contexts/dist / VenueAttachment
Class: VenueAttachment
Defined in: contexts/index.d.ts:891
This object represents a venue.
Extends
Constructors
Constructor
new VenueAttachment(
payload):VenueAttachment
Defined in: contexts/index.d.ts:864
Parameters
| Parameter | Type |
|---|---|
payload | TelegramVenue |
Returns
VenueAttachment
Inherited from
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
attachmentType | AttachmentType | Attachment.attachmentType | contexts/index.d.ts:892 |
payload | TelegramVenue | Venue.payload | contexts/index.d.ts:863 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:866
Returns
string
Inherited from
address
Get Signature
get address():
string
Defined in: contexts/index.d.ts:872
Address of the venue
Returns
string
Inherited from
foursquareId
Get Signature
get foursquareId():
string
Defined in: contexts/index.d.ts:874
Foursquare identifier of the venue
Returns
string
Inherited from
foursquareType
Get Signature
get foursquareType():
string
Defined in: contexts/index.d.ts:876
Foursquare type of the venue
Returns
string
Inherited from
googlePlaceId
Get Signature
get googlePlaceId():
string
Defined in: contexts/index.d.ts:878
Google Places identifier of the venue
Returns
string
Inherited from
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
location
Get Signature
get location():
Location
Defined in: contexts/index.d.ts:868
Venue location
Returns
Inherited from
title
Get Signature
get title():
string
Defined in: contexts/index.d.ts:870
Name of the venue
Returns
string