Adding a Gif to a newly created Jira Issue

Hello,

I am currently trying to add a Gif to a created issue in Jira as a personal project.
I am getting a Gif Data Object without any problems from the GIPHY api, but don’t know how to bind the GIF to my comment.

I pretty much want to do the same thing i am doing with a string (add it to a jira issue) with a giphy object.

Any help on how to get jira to post a gif would be appreciated.

Below my current string only version.

async function addComment(issueKey, message) {
    const requestUrl = route`/rest/api/3/issue/${issueKey}/comment`;
    const body = {
        "body": {
            "type": "doc",
            "version": 1,
            "content": [
                {
                    "type": "paragraph",
                    "content": [
                        {
                            "text": message,
                            "type": "text"
                        }
                    ]
                }
            ]
        }
    };
    let response = await api.asApp().requestJira(requestUrl, {
        method: "POST",
        headers: {
            "Content-Type": "application/json"
        },
        body: JSON.stringify(body)
    });
    // Error checking: the Jira issue comment Rest API returns a 201 if the request is successful
    if (response.status !== 201) {
        console.log(response.status);
        throw `Unable to add comment to issueKey ${issueKey} Status: ${response.status}.`;
    }
    return response.json();
}