private open fun commitMessage(msg: ChatMessage!): Unit
The method performs create/update of chat message on FirebaseFirestore
msg - ChatMessage!:
msg