Sharing in Datagram is done via sharelinks.

Sharelink is a long strings that contain datagram's public address and decryption password. Address and password are separated by /.

Example of a sharelink 2SC7HiGjbcdFEdjm3NAusupUCpzVNy6C6iVjtatC8h95F2vQ45/DzGg81HgoX7Pe1Sfy5gkzNurRSth7SqEryV63VRJksYteGZ8D

Public address is used to locate the datagram in the Internet. All data in Datagram is encrypted by default so anybody who wants to read your datagram will need the decryption password.