Function to toggle attachment picker.  By default, this function is attached to onPress handler for [`AttachButton`](../../../core-components/channel.mdx#attachbutton).

| Type |
| - |
| function |
