OgProperties

OgProperties

OpenGraph property manager class.

Constructor

# new OgProperties()

Methods

# setColor(color) → {OgProperties}

Set the color.
Parameters:
Name Type Description
color String Hex code of the color.
Returns:
Type
OgProperties

# setDescription(description)

Set the description.
Parameters:
Name Type Description
description String Description.

# setDiscordHideUrl(hide_url)

Set if the URL to the image should be hidden in discord.
Parameters:
Name Type Description
hide_url Boolean if true, discord will hide the file's URL and display only the image in chat, if false, the file's URL will also be shown. Defaults to false.

# setTitle(title)

Set the title.
Parameters:
Name Type Description
title String The title what else.