In terms of communication, there is no difference, if it is communication between two humans, two animals, two machines or human and machine — in all cases, the same principles apply, like bandwidth, signal/noise ratio and so on.
Of course, machine-to-machine communication using digital means, including both physical cables and message protocols, is more formal than human-to-human communication (while it is probably going to change with the progress of AI systems), so it is easier to measure the speed, quality and other communication metrics.
Direct human-to-human communication is more flexible, more affected by multiple relatively unstable factors (like experience, mood, beliefs and so on). This type of communication is beyond the scope of our general topic, but there is an interesting aspect, when two persons communicate indirectly, by using digtal means of communication (messengers, websites, professional tools like task-management systems and so on).
In this case we have more steps of message communication flow: as usual, we convert our intentions into messages, but then we use muscles of our arms and fingers and press the buttons on physical or virtual keyboard, then these signals are interpreted by software to create the message (just plain text or to attach image, sticker, etc.), then it is again converted to some internal message to send it by some aligned protocol to the receiver system, decoded and visualized (or sonified) and then perceived and interpreted by human.
Of course, this expands the space for potential errors and distortions of original intents and message, and this is where we as interaction designers take an active role to imagine and provide tools, that improve and support this type of communication.