Package ai.nexconn.chat.channel.model
Class OpenChannelEnterResponseInfo
-
- All Implemented Interfaces:
public final class OpenChannelEnterResponseInfoResponse information after joining an open channel.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongcreateTimeprivate final IntegermemberCountprivate final BooleanisAllChannelMutedprivate final BooleanisCurrentUserMutedprivate final BooleanisCurrentChannelMutedprivate final BooleanisCurrentChannelInAllowlistprivate final LongenterTime
-
Constructor Summary
Constructors Constructor Description OpenChannelEnterResponseInfo(Long createTime, Integer memberCount, Boolean isAllChannelMuted, Boolean isCurrentUserMuted, Boolean isCurrentChannelMuted, Boolean isCurrentChannelInAllowlist, Long enterTime)
-
Method Summary
Modifier and Type Method Description final LonggetCreateTime()final IntegergetMemberCount()final BooleanisAllChannelMuted()final BooleanisCurrentUserMuted()final BooleanisCurrentChannelMuted()final BooleanisCurrentChannelInAllowlist()final LonggetEnterTime()-
-
Constructor Detail
-
OpenChannelEnterResponseInfo
OpenChannelEnterResponseInfo(Long createTime, Integer memberCount, Boolean isAllChannelMuted, Boolean isCurrentUserMuted, Boolean isCurrentChannelMuted, Boolean isCurrentChannelInAllowlist, Long enterTime)
- Parameters:
createTime- Channel creation timestamp in milliseconds.memberCount- Current member count of the channel.isAllChannelMuted- Whether global mute is enabled.isCurrentUserMuted- Whether the current user is globally muted.isCurrentChannelMuted- Whether the current user is muted in this channel.isCurrentChannelInAllowlist- Whether the current user is on the channel's mute allowlist.enterTime- Timestamp when the user entered, in milliseconds.
-
-
Method Detail
-
getCreateTime
final Long getCreateTime()
-
getMemberCount
final Integer getMemberCount()
-
isAllChannelMuted
final Boolean isAllChannelMuted()
-
isCurrentUserMuted
final Boolean isCurrentUserMuted()
-
isCurrentChannelMuted
final Boolean isCurrentChannelMuted()
-
isCurrentChannelInAllowlist
final Boolean isCurrentChannelInAllowlist()
-
getEnterTime
final Long getEnterTime()
-
-
-
-