public class Chat extends Object
| Constructor and Description |
|---|
Chat(int id) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAccessHash() |
int |
getFlags() |
int |
getId() |
Integer |
getMigratedTo() |
String |
getRestrictionReason() |
String |
getTitle() |
String |
getUsername() |
boolean |
hasAccess() |
boolean |
hasRestrictionReason() |
boolean |
hasUsername() |
boolean |
isChannel() |
boolean |
isForbidden() |
boolean |
isMigratedTo() |
boolean |
isSupergroup() |
void |
setAccessHash(Long accessHash) |
void |
setChannel(boolean channel) |
void |
setFlags(int flags) |
void |
setForbidden(boolean forbidden) |
void |
setMigratedTo(Integer migratedTo) |
void |
setRestrictionReason(String restrictionReason) |
void |
setTitle(String title) |
void |
setUsername(String username) |
String |
toString() |
public int getId()
public int getFlags()
public void setFlags(int flags)
public Long getAccessHash()
public void setAccessHash(Long accessHash)
public String getTitle()
public void setTitle(String title)
public String getUsername()
public void setUsername(String username)
public String getRestrictionReason()
public boolean isChannel()
public void setChannel(boolean channel)
public void setRestrictionReason(String restrictionReason)
public Integer getMigratedTo()
public void setMigratedTo(Integer migratedTo)
public void setForbidden(boolean forbidden)
public boolean isForbidden()
public boolean hasUsername()
public boolean hasRestrictionReason()
public boolean isSupergroup()
public boolean isMigratedTo()
public boolean hasAccess()
Copyright © 2016. All rights reserved.