modes

Parameters

modes

The list of AttachmentPickerMode instances that define which attachment types are available. The order of modes determines the order of tabs in the picker. Defaults to gallery, files, camera, poll, and commands.