Package org.drinkless.tdlib
Class TdApi.ChatMemberStatusBanned
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatMemberStatus
-
- org.drinkless.tdlib.TdApi.ChatMemberStatusBanned
-
- Enclosing class:
- TdApi
public static class TdApi.ChatMemberStatusBanned extends TdApi.ChatMemberStatus
The user or the chat was banned (and hence is not a member of the chat). Implies the user can't return to the chat, view messages, or be used as a participant identifier to join a video chat of the chat.
-
-
Field Summary
Fields Modifier and Type Field Description intbannedUntilDatePoint in time (Unix timestamp) when the user will be unbanned; 0 if never.static intCONSTRUCTORIdentifier uniquely determining type of the object.
-
Constructor Summary
Constructors Constructor 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).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
bannedUntilDate
public int 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.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChatMemberStatusBanned
public ChatMemberStatusBanned()
The user or the chat was banned (and hence is not a member of the chat). Implies the user can't return to the chat, view messages, or be used as a participant identifier to join a video chat of the chat.
-
ChatMemberStatusBanned
public ChatMemberStatusBanned(int bannedUntilDate)
The user or the chat was banned (and hence is not a member of the chat). Implies the user can't return to the chat, view messages, or be used as a participant identifier to join a video chat of the chat.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-