public static class TdApi.Venue extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address
Venue address; as defined by the sender.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Identifier of the venue in the provider database; as defined by the sender.
|
TdApi.Location |
location
Venue location; as defined by the sender.
|
java.lang.String |
provider
Provider of the venue database; as defined by the sender.
|
java.lang.String |
title
Venue name; as defined by the sender.
|
java.lang.String |
type
Type of the venue in the provider database; as defined by the sender.
|
Constructor and Description |
---|
Venue()
Describes a venue.
|
Venue(TdApi.Location location,
java.lang.String title,
java.lang.String address,
java.lang.String provider,
java.lang.String id,
java.lang.String type)
Describes a venue.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Location location
public java.lang.String title
public java.lang.String address
public java.lang.String provider
public java.lang.String id
public java.lang.String type
public static final int CONSTRUCTOR
public Venue()
public Venue(TdApi.Location location, java.lang.String title, java.lang.String address, java.lang.String provider, java.lang.String id, java.lang.String type)
location
- Venue location; as defined by the sender.title
- Venue name; as defined by the sender.address
- Venue address; as defined by the sender.provider
- Provider of the venue database; as defined by the sender. Currently, only "foursquare" and "gplaces" (Google Places) need to be supported.id
- Identifier of the venue in the provider database; as defined by the sender.type
- Type of the venue in the provider database; as defined by the sender.public int getConstructor()
getConstructor
in class TdApi.Object