A modal bottom sheet that displays attachments that can be sent in a chat. This is a top level scaffold that is designed to wrap your screen content.

val mediaSheetState = rememberMediaActionSheetState(chat = chat)
MediaActionSheet(state) {
    // your screen content
}

For a more detailed API definition, check out the API docs here.