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