Everyone can delete their own messages.
Hover over the message (or press and hold on mobile), click the dot menu and choose Delete. Confirm the deletion and the message disappears, leaving only a note that a message was deleted. This action cannot be undone. If someone has replied to your message, their reply remains without the original content.