def METHOD_NAME(self, json_message, message_type):
    try:
        if message_type == ElementTypes.IMAGE.value:
            image_json = ElementTransformerOps.json_generator(json_message)
            body = {}
            for item in image_json:
                if item.get("type") == ElementTypes.IMAGE.value:
                    body.update({"type": item.get("type"), "URL": item.get("src"),
                                 "caption": item.get("alt")})
                    return body
        elif message_type == ElementTypes.LINK.value:
            jsoniterator = ElementTransformerOps.json_generator(json_message)
            stringbuilder = ElementTransformerOps.convertjson_to_link_format(jsoniterator)
            body = {"data": stringbuilder}
            return body
        elif message_type == ElementTypes.VIDEO.value:
            jsoniterator = ElementTransformerOps.json_generator(json_message)
            body = {}
            for item in jsoniterator:
                if item.get("type") == ElementTypes.VIDEO.value:
                    body.update({"data": item.get("url")})
                    return body
            return body
    except Exception as ex:
        raise Exception(f"Exception in ElementTransformerOps::message_extractor for channel: {self.channel} "
                        f"and type: {self.message_type}: - {str(ex)}")