java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Venue
- Enclosing class:
- TdApi
Describes a venue.
-
Field Summary
Modifier and TypeFieldDescriptionVenue address; as defined by the sender.static final int
Identifier of the venue in the provider database; as defined by the sender.Venue location; as defined by the sender.Provider of the venue database; as defined by the sender.Venue name; as defined by the sender.Type of the venue in the provider database; as defined by the sender. -
Constructor Summary
-
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Venue
public Venue()Describes a venue. -
Venue
public Venue(TdApi.Location location, String title, String address, String provider, String id, String type) Describes a venue.- Parameters:
location
- Location Venue location; as defined by the sender.title
- String Venue name; as defined by the sender.address
- String Venue address; as defined by the sender.provider
- String Provider of the venue database; as defined by the sender. Currently, only "foursquare" and "gplaces" (Google Places) need to be supported.id
- String Identifier of the venue in the provider database; as defined by the sender.type
- String Type of the venue in the provider database; as defined by the sender.
-
Venue
Describes a venue.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-