canCopyMessage
Determines whether the given message can be copied to the clipboard.
A message can be copied when:
Copy text functionality is enabled in the UI configuration
The message contains text only (no attachments) OR contains links
Return
true if the message can be copied, false otherwise.
Parameters
copyTextEnabled
Whether the copy text feature is enabled in the UI.
message
The message to check for copy eligibility.