Via a written message, as opposed to verbally or via other means.(adverb)
Wiktionary.org : Text is available under the Creative Commons Attribution-ShareAlike License
Use "in writing" in a sentence
"This is normally the name of a different group of peoples – whose roots stem from a historical heartland that ranges from northern Sudan into Egypt – so for the avoidance of confusion "Nubians" should have been avoided by us in writing about the inhabitants of the Nuba mountains Fear stalks the hills for victims of Sudan's forgotten war, 4 July, page 1; 'The south's leaders sold us off', 4 July, page 19."
"In his leisure hours, he indulged in writing poems, "Socrate au temple d'Aglaure" (1802), and tragedies, "Eléonore de Bavière" and "Les templiers", which were played in 1805 by special command of Napoleon."
"Any contact with Mr. Paragon should be made in writing in the first instance."