DiscordLua
discorddiscord
v1.2.4
Install

GuildForumTag

Class
On this page

GuildForumTag 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

GuildForumTag.channel

# readonly
Name
channel
Type
any
Access
readonly
Description
Channel this GuildForumTag belongs to, when resolved from cache.
Availability
Populated from the Gateway/REST payload or constructor for this GuildForumTag.

GuildForumTag.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 GuildForumTag.

GuildForumTag.emojiId

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

GuildForumTag.emojiName

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

GuildForumTag.id

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

GuildForumTag.moderated

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

GuildForumTag.name

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

GuildForumTag.raw

# readonly
Name
raw
Type
any
Access
readonly
Description
Instance field GuildForumTag.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 GuildForumTag.

Methods

GuildForumTag:toJSON()

#

Serialize this GuildForumTag into a Lua table suitable for REST or debugging.

Signature

GuildForumTag:toJSON()

Parameters

No parameters.

Returns

any.

Example

lua
local discord = require("discord")
-- object is a GuildForumTag
object:toJSON()

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