public class TLUser extends TLAbsUser
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
long |
getAccessHash() |
int |
getBotInfoVersion() |
String |
getBotInlinePlaceholder() |
int |
getClassId()
Getting TL Class identification
|
String |
getFirstName() |
int |
getFlags() |
String |
getLangCode() |
String |
getLastName() |
String |
getPhone() |
TLAbsUserProfilePhoto |
getPhoto() |
String |
getRestrictionReason() |
TLAbsUserStatus |
getStatus() |
String |
getUserName() |
boolean |
hasAccessHash() |
boolean |
hasFirstName() |
boolean |
hasLangCode() |
boolean |
hasLastName() |
boolean |
hasPhone() |
boolean |
hasUserName() |
boolean |
isBot() |
boolean |
isBotCantAddToGroup() |
boolean |
isBotReadingHistory() |
boolean |
isContact() |
boolean |
isDeleted() |
boolean |
isInlineBot() |
boolean |
isMutualContact() |
boolean |
isRestricted() |
boolean |
isSelf() |
boolean |
isVerified() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getFlags()
public long getAccessHash()
public String getFirstName()
public String getLastName()
public String getUserName()
public String getPhone()
public TLAbsUserProfilePhoto getPhoto()
public TLAbsUserStatus getStatus()
public int getBotInfoVersion()
public String getRestrictionReason()
public String getBotInlinePlaceholder()
public String getLangCode()
public boolean hasAccessHash()
public boolean hasPhone()
public boolean hasUserName()
public boolean hasFirstName()
public boolean hasLastName()
public boolean isSelf()
public boolean isRestricted()
public boolean isContact()
public boolean isMutualContact()
public boolean isDeleted()
public boolean isBot()
public boolean isBotReadingHistory()
public boolean isBotCantAddToGroup()
public boolean isVerified()
public boolean isInlineBot()
public boolean hasLangCode()
public 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.