public static class TdApi.ChatMemberStatusBanned extends TdApi.ChatMemberStatus
| Modifier and Type | Field and Description |
|---|---|
int |
bannedUntilDate
Point in time (Unix timestamp) when the user will be unbanned; 0 if never.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
ChatMemberStatusBanned()
The user or the chat was banned (and hence is not a member of the chat).
|
ChatMemberStatusBanned(int bannedUntilDate)
The user or the chat was banned (and hence is not a member of the chat).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int bannedUntilDate
public static final int CONSTRUCTOR
public ChatMemberStatusBanned()
public ChatMemberStatusBanned(int bannedUntilDate)
bannedUntilDate - Point in time (Unix timestamp) when the user will be unbanned; 0 if never. If the user is banned for more than 366 days or for less than 30 seconds from the current time, the user is considered to be banned forever. Always 0 in basic groups.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object