Can You Write To God?

Is writing to God the same as praying?

.

Can you talk to God through writing?

Can you pray to God by writing?

How can I send a message to God?