# Attachments

## Sharing files in a chat

You can share files in a chat in three ways.

First, you can simply drag'n'drop them on the chat.

![Talk chat with a file being dragged and dropped to share](https://docs.cocobook.com/uploads/images/gallery/2026-10/drag-and-drop.png)

Second, you can select a file from your Nextcloud Files or a file manager by choosing the little paperclip and selecting where you'd like to pick the file from.

![Talk file selection dialog for sharing from Nextcloud Files](https://docs.cocobook.com/uploads/images/gallery/2026-10/share-files-in-chat.png)

![Talk file selection panel showing available files to share in chat](https://docs.cocobook.com/uploads/images/gallery/2026-10/share-files-in-chat-selection.png)

You can add more files until you are done and decide to share the files. You can also add a text caption to your shared files, providing a brief description or context.

![Talk file upload queue before sending files in chat](https://docs.cocobook.com/uploads/images/gallery/2026-10/talk-upload-files.png)

All users will be able to click the files to view, edit or download them, regardless of whether they have a Nextcloud account. Users with an account will have the file automatically shared with them while external guest users will get them shared as a public link.

![Talk chat with a shared document that participants can open and edit](https://docs.cocobook.com/uploads/images/gallery/2026-10/editing-document-in-chat-room.png)

## Polls in chat

You can create a poll in groups chats from the new message additional actions.

![Talk poll creation form in a group chat](https://docs.cocobook.com/uploads/images/gallery/2026-10/create-new-poll.png)

A poll has two settings:

- **Anonymous polls**: Participants cannot see who voted for which option.
- **Allow multiple choices**: Participants can select more than one option.

You can also import polls for auto-fill and export polls as JSON files to save them locally.

![Talk poll import option for loading poll questions from a file](https://docs.cocobook.com/uploads/images/gallery/2026-10/import-poll.png)

You can close a poll from the poll dialog.

![Talk poll dialog with option to close voting](https://docs.cocobook.com/uploads/images/gallery/2026-10/close-poll.png)

As a moderator, you can create the poll directly or you can save it as a draft to edit it later.

![Talk poll creation form with save as draft option](https://docs.cocobook.com/uploads/images/gallery/2026-10/save-poll-draft.png)

You can find poll drafts in `Shared items` tab or next to the poll title input field.

![Talk shared items tab showing saved poll drafts](https://docs.cocobook.com/uploads/images/gallery/2026-10/poll-drafts-list.png)
