Class TdApi.ChatMemberStatusBanned

Enclosing class:
TdApi

public static class TdApi.ChatMemberStatusBanned
extends TdApi.ChatMemberStatus
The user was banned (and hence is not a member of the chat). Implies the user can't return to the chat or view messages.
  • Field Details

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

    • ChatMemberStatusBanned

      public ChatMemberStatusBanned()
      The user was banned (and hence is not a member of the chat). Implies the user can't return to the chat or view messages.
    • ChatMemberStatusBanned

      public ChatMemberStatusBanned​(int bannedUntilDate)
      The user was banned (and hence is not a member of the chat). Implies the user can't return to the chat or view messages.
      Parameters:
      bannedUntilDate - int 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.
    • ChatMemberStatusBanned

      public ChatMemberStatusBanned​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details