public class TLMessageMediaVenue extends TLAbsMessageMedia
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLMessageMediaVenue()
Instantiates a new TL message media venue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
String |
getAddress()
Gets address.
|
int |
getClassId()
Getting TL Class identification
|
TLAbsGeoPoint |
getGeo()
Gets geo.
|
String |
getProvider()
Gets provider.
|
String |
getTitle()
Gets title.
|
String |
getVenue_id()
Gets venue _ id.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAddress(String address)
Sets address.
|
void |
setGeo(TLAbsGeoPoint geo)
Sets geo.
|
void |
setProvider(String provider)
Sets provider.
|
void |
setTitle(String title)
Sets title.
|
void |
setVenue_id(String venue_id)
Sets venue _ id.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLMessageMediaVenue()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsGeoPoint getGeo()
public void setGeo(TLAbsGeoPoint geo)
geo - the geopublic String getTitle()
public void setTitle(String title)
title - the titlepublic String getAddress()
public void setAddress(String address)
address - the addresspublic String getProvider()
public void setProvider(String provider)
provider - the providerpublic String getVenue_id()
public void setVenue_id(String venue_id)
venue_id - the venue _ idpublic void serializeBody(OutputStream stream) throws IOException
TLObjectserializeBody in class TLObjectstream - destination streamIOExceptionpublic void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObjectdeserializeBody in class TLObjectstream - source streamcontext - tl contextIOExceptionCopyright © 2017. All rights reserved.