public static class TdApi.ChatMemberStatusRestricted extends TdApi.ChatMemberStatus
TdApi.ChatMemberStatus.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isMember
True, if the user is a member of the chat.
|
TdApi.ChatPermissions |
permissions
User permissions in the chat.
|
int |
restrictedUntilDate
Point in time (Unix timestamp) when restrictions will be lifted from the user; 0 if never.
|
Constructor and Description |
---|
ChatMemberStatusRestricted()
The user is under certain restrictions in the chat.
|
ChatMemberStatusRestricted(boolean isMember,
int restrictedUntilDate,
TdApi.ChatPermissions permissions)
The user is under certain restrictions in the chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public boolean isMember
public int restrictedUntilDate
public TdApi.ChatPermissions permissions
public static final int CONSTRUCTOR
public ChatMemberStatusRestricted()
public ChatMemberStatusRestricted(boolean isMember, int restrictedUntilDate, TdApi.ChatPermissions permissions)
isMember
- True, if the user is a member of the chat.restrictedUntilDate
- Point in time (Unix timestamp) when restrictions will be lifted from the user; 0 if never. If the user is restricted for more than 366 days or for less than 30 seconds from the current time, the user is considered to be restricted forever.permissions
- User permissions in the chat.public int getConstructor()
getConstructor
in class TdApi.ChatMemberStatus