IntegrationApplication
ClassOn 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.
Properties
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Name
id- Type
any- Access
- readonly
- Description
- Snowflake id of this IntegrationApplication.
- Availability
- Populated from the Gateway/REST payload or constructor for this IntegrationApplication.
- Name
name- Type
any- Access
- readonly
- Description
- Display name of this IntegrationApplication.
- Availability
- Populated from the Gateway/REST payload or constructor for this IntegrationApplication.
- 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.
- 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.
- 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.
- 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.
- 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
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
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.
Related APIs
ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationRoleConnectionMetadata · Attachment
Version: discord 1.2.4 · runtime 1.0.0