createMessageOptionItems

abstract fun createMessageOptionItems(selectedMessage: Message, currentUser: User?, isInThread: Boolean, ownCapabilities: Set<String>, style: MessageListViewStyle): List<MessageOptionItem>

Creates MessageOptionItems for the selected message.

Return

The list of message option items to display.

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.