MessageMenus

fun BoxScope.MessageMenus(listViewModel: MessageListViewModel, composerViewModel: MessageComposerViewModel, skipPushNotification: Boolean, skipEnrichUrl: Boolean)

Contains the various menus and pickers the user can use to interact with messages.

Parameters

listViewModel

The MessageListViewModel used to read state from.

composerViewModel

The MessageComposerViewModel used to read state from.

skipPushNotification

If the message should skip triggering a push notification when sent. False by default. Note, only new messages trigger push notifications, updating edited messages does not.

skipEnrichUrl

If the message should skip enriching the URL. If URL is not enriched, it will not be displayed as a link attachment. False by default.