defaultMessageOptionsState
fun defaultMessageOptionsState(selectedMessage: Message, currentUser: User?, isInThread: Boolean, channel: Channel): List<MessageOptionItemState>
Builds the default message options we show to our users. A different set of options is shown for pending and sent messages.
Parameters
selectedMessage
Currently selected message, used to callbacks.
currentUser
Current user, used to expose different states for messages.
isInThread
If the message is being displayed in a thread.
channel
The channel where the message was sent.