Class MessageListViewModel.Event.BanUser

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final User getUser()
      final String getReason()
      final Integer getTimeout()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageListViewModel.Event.BanUser

        MessageListViewModel.Event.BanUser(User user, String reason, Integer timeout)
        Parameters:
        user - The user to be blocked.
        reason - The reason for banning the user.
        timeout - The time until the user is automatically unbanned, expressed in minutes.