-
public final class RestrictionInfo
Represents an detailed information of a RestrictedUser or Member's restriction.
since 3.0.173
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
RestrictionInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
description
private final Long
endAt
private final RestrictionType
restrictionType
-
Method Summary
Modifier and Type Method Description final String
getDescription()
Description of the restriction. final Long
getEndAt()
End time of the restriction. final RestrictionType
getRestrictionType()
RestrictionType of the current user. -
-
Method Detail
-
getDescription
final String getDescription()
Description of the restriction.
-
getRestrictionType
final RestrictionType getRestrictionType()
RestrictionType of the current user.
-
-
-
-