Interface MessageOptionItemsFactory
-
- All Implemented Interfaces:
public interface MessageOptionItemsFactoryAn interface that allows the creation of message option items.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMessageOptionItemsFactory.Companion
-
Method Summary
Modifier and Type Method Description abstract List<MessageOptionItem>createMessageOptionItems(Message selectedMessage, User currentUser, Boolean isInThread, Set<String> ownCapabilities, MessageListViewStyle style)Creates MessageOptionItems for the selected message. -
-
Method Detail
-
createMessageOptionItems
abstract List<MessageOptionItem> createMessageOptionItems(Message selectedMessage, User currentUser, Boolean isInThread, Set<String> ownCapabilities, MessageListViewStyle style)
Creates MessageOptionItems for the selected message.
- Parameters:
selectedMessage- The currently selected message.currentUser- The currently logged in user.isInThread- If the message is being displayed in a thread.ownCapabilities- Set of capabilities the user is given for the current channel.style- The style to be applied to the view.- Returns:
The list of message option items to display.
-
-
-
-