def METHOD_NAME(ticket_id, content_type_id, object_id, message):
    webhook = get_webhook_url('on_new_ticket')
    if webhook is None or settings.SITE_FULL_URL is None:
        return
    ticket = Ticket.objects.get(pk=ticket_id)
    obj = ContentType.objects.get_for_id(content_type_id).get_object_for_this_type(
        pk=object_id,
    )
    url = obj.get_absolute_url()
    # for internal links, we add the site url
    if url[0] == '/':
        url = settings.SITE_FULL_URL + url
    ticket_url = settings.SITE_FULL_URL + '/ticket/' + str(ticket_id)
    title = f'Title: [{ticket.title}]({ticket_url})'
    message = f'Message: {message}'
    send_webhook(webhook, f'New ticket on {url}', title + '\n' + message[:100], ticket.user)