DiscordLua
discorddiscord
v1.2.4
Install

IntegrationApplication

Class
On this page

IntegrationApplication is a DiscordLua class representing a Discord resource. Obtain it from a manager, an event payload, or the constructor when one is documented below.

class Module 1.2.4 Source

Properties

IntegrationApplication.bot

# readonly
Name
bot
Type
any
Access
readonly
Description
Instance field IntegrationApplication.bot. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.client

# readonly
Name
client
Type
any
Access
readonly
Description
Owning Client instance used for REST, cache, and event dispatch.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.cover

# readonly
Name
cover
Type
any
Access
readonly
Description
Instance field IntegrationApplication.cover. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.description

# readonly
Name
description
Type
any
Access
readonly
Description
Instance field IntegrationApplication.description. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.hook

# readonly
Name
hook
Type
any
Access
readonly
Description
Instance field IntegrationApplication.hook. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.icon

# readonly
Name
icon
Type
any
Access
readonly
Description
Instance field IntegrationApplication.icon. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.id

# readonly
Name
id
Type
any
Access
readonly
Description
Snowflake id of this IntegrationApplication.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.name

# readonly
Name
name
Type
any
Access
readonly
Description
Display name of this IntegrationApplication.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.privacyPolicyURL

# readonly
Name
privacyPolicyURL
Type
any
Access
readonly
Description
Instance field IntegrationApplication.privacyPolicyURL. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.raw

# readonly
Name
raw
Type
any
Access
readonly
Description
Instance field IntegrationApplication.raw. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.rpcOrigins

# readonly
Name
rpcOrigins
Type
any
Access
readonly
Description
Instance field IntegrationApplication.rpcOrigins. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.termsOfServiceURL

# readonly
Name
termsOfServiceURL
Type
any
Access
readonly
Description
Instance field IntegrationApplication.termsOfServiceURL. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

IntegrationApplication.verifyKey

# readonly
Name
verifyKey
Type
any
Access
readonly
Description
Instance field IntegrationApplication.verifyKey. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this IntegrationApplication.

Methods

IntegrationApplication:createdAt()

#

Create dAt through REST and cache the result when the request succeeds. Pass function(err, result) to handle failures without raising.

Signature

IntegrationApplication:createdAt()

Parameters

No parameters.

Returns

IntegrationApplication — the same instance, for chaining.

Example

lua
local discord = require("discord")
-- object is a IntegrationApplication
object:createdAt()

IntegrationApplication:createdTimestamp()

#

Create dTimestamp through REST and cache the result when the request succeeds. Pass function(err, result) to handle failures without raising.

Signature

IntegrationApplication:createdTimestamp()

Parameters

No parameters.

Returns

IntegrationApplication — the same instance, for chaining.

Example

lua
local discord = require("discord")
-- object is a IntegrationApplication
object:createdTimestamp()

Examples

Obtain this object from a manager, wrap helper, or event payload — it is not constructed directly in typical bot code.

ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationRoleConnectionMetadata · Attachment

Version: discord 1.2.4 · runtime 1.0.0

Search Ctrl K Navigate Open Esc