public static class TdApi.ChatMemberStatusBanned extends TdApi.ChatMemberStatus
TdApi.ChatMemberStatus.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.ChatMemberStatus