Package io.getstream.chat.android.models
Class BannedUser
-
- All Implemented Interfaces:
@Immutable() public final class BannedUserModel holding data related to a banned user.
-
-
Method Summary
Modifier and Type Method Description final UsergetUser()final UsergetBannedBy()final ChannelgetChannel()final DategetCreatedAt()final DategetExpires()final BooleangetShadow()final StringgetReason()-
-
Constructor Detail
-
BannedUser
BannedUser(User user, User bannedBy, Channel channel, Date createdAt, Date expires, Boolean shadow, String reason)
- Parameters:
user- The banned user.bannedBy- The user who banned the user.channel- The channel where the user was banned.createdAt- The date when the user was banned.expires- The date when the ban expires.shadow- If the ban is shadow.reason- The reason for the ban.
-
-
Method Detail
-
getBannedBy
final User getBannedBy()
-
getChannel
final Channel getChannel()
-
getCreatedAt
final Date getCreatedAt()
-
getExpires
final Date getExpires()
-
-
-
-