Class ChannelOperationsHandler
-
- All Implemented Interfaces:
public class ChannelOperationsHandlerChannel operations handler.
Note: Call stop to release resources when done.
- Since:
5.12.2
-
-
Field Summary
Fields Modifier and Type Field Description public final static DataKey<ChannelNoDisturbLevel>KEY_SET_CONVERSATION_NOTIFICATION_STATUSpublic final static DataKey<Boolean>KEY_SET_CONVERSATION_TO_TOP
-
Constructor Summary
Constructors Constructor Description ChannelOperationsHandler(ChannelIdentifier channelIdentifier)
-
Method Summary
Modifier and Type Method Description voidsetConversationNotificationStatus(ChannelNoDisturbLevel noDisturbLevel)Sets the conversation notification status. voidsetConversationToTop(boolean isTop)Sets the conversation pinned (top) status. -
-
Method Detail
-
setConversationNotificationStatus
void setConversationNotificationStatus(ChannelNoDisturbLevel noDisturbLevel)
Sets the conversation notification status.
- Parameters:
noDisturbLevel- the do-not-disturb level
-
setConversationToTop
void setConversationToTop(boolean isTop)
Sets the conversation pinned (top) status.
- Parameters:
isTop- whether to pin the conversation to the top
-
-
-
-