GramIO API Reference / @gramio/contexts/dist / VenueAttachment
Class: VenueAttachment
Defined in: contexts/index.d.ts:852
This object represents a venue.
Extends
Constructors
Constructor
new VenueAttachment(
payload):VenueAttachment
Defined in: contexts/index.d.ts:825
Parameters
| Parameter | Type |
|---|---|
payload | TelegramVenue |
Returns
VenueAttachment
Inherited from
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
attachmentType | AttachmentType | Attachment.attachmentType | contexts/index.d.ts:853 |
payload | TelegramVenue | Venue.payload | contexts/index.d.ts:824 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:827
Returns
string
Inherited from
address
Get Signature
get address():
string
Defined in: contexts/index.d.ts:833
Address of the venue
Returns
string
Inherited from
foursquareId
Get Signature
get foursquareId():
string
Defined in: contexts/index.d.ts:835
Foursquare identifier of the venue
Returns
string
Inherited from
foursquareType
Get Signature
get foursquareType():
string
Defined in: contexts/index.d.ts:837
Foursquare type of the venue
Returns
string
Inherited from
googlePlaceId
Get Signature
get googlePlaceId():
string
Defined in: contexts/index.d.ts:839
Google Places identifier of the venue
Returns
string
Inherited from
googlePlaceType
Get Signature
get googlePlaceType():
string
Defined in: contexts/index.d.ts:844
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:829
Venue location
Returns
Inherited from
title
Get Signature
get title():
string
Defined in: contexts/index.d.ts:831
Name of the venue
Returns
string