Backwards compatibility for formatChatMessage