public static class MediaMessage.DefaultImpls
A message that contains more than simple text and ca be (optionally) transformed by Connector to ConnectorMessage.
public static boolean checkValidity(MediaMessage $this)
Returns true if the media is valid.
@Nullable public static GenericMessage toGenericMessage(MediaMessage $this)
Returns a class GenericMessage view of this interface MediaMessage if supported.
class GenericMessage,
interface MediaMessage