The paperclip icon allows to select an attachment. The are several options:
Photos and videos are to be converted to a supported format on the client side before they are sent to the server. The X and Y dimesions of photo must not exceed 1280 each, and the photos must be compressed to JPEG with 0.87 compression ratio.
Video dimensions must be set to 480x320 (320x480 for vertical videos).
H.264 and MPEG-4 should be used as the codec and container.
While the photo, video or document is being uploaded, a progress indicator is shown. The user can cancel the upload by tapping on it.
The selected attachments are sent independently of the text that the user may have entered in the input field.
Users can select photos from a Photo Picker that allows to preview photos and select multiple photos at once.
Users can select and preview videos from the Video Picker.
The pin is set to the user‘s current location by default. The user can drag the pin anywhere across the map. The navigation icon always resets the map scale and position, returning it to the the user’s current location.
Contact details for the selected contact are instantly shared in the current chat.