public class VKApiChat extends VKApiModel implements Identifiable, android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
int |
admin_id
ID of the chat starter, positive number
|
static android.os.Parcelable.Creator<VKApiChat> |
CREATOR |
int |
id
Chat ID, positive number.
|
java.lang.String |
title
Chat title.
|
java.lang.String |
type
Type of chat.
|
int[] |
users
List of chat participants' IDs.
|
fields| Constructor and Description |
|---|
VKApiChat()
Creates empty Chat instance.
|
VKApiChat(org.json.JSONObject from) |
VKApiChat(android.os.Parcel in)
Creates a Chat instance from Parcel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getId()
Returns unique identifier of this object(usually it's value of JSON field "id").
|
VKApiChat |
parse(org.json.JSONObject source)
Fills a Chat instance from JSONObject.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getTag, getTag, setTag, setTagpublic int id
public java.lang.String type
public java.lang.String title
public int admin_id
public int[] users
public static android.os.Parcelable.Creator<VKApiChat> CREATOR
public VKApiChat(org.json.JSONObject from)
public VKApiChat(android.os.Parcel in)
public VKApiChat()
public VKApiChat parse(org.json.JSONObject source)
parse in class VKApiModelsource - server API object.public int getId()
IdentifiablegetId in interface Identifiablepublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable