GuildMemberEditMeOptions
ClassOn this page
GuildMemberEditMeOptions is a DiscordLua class representing a Discord resource. Obtain it from a manager, an event payload, or the constructor when one is documented below.
Methods
Performs encode on this GuildMemberEditMeOptions. Call it from bot code when you need that operation on the current object.
Signature
GuildMemberEditMeOptions.encode(options) Parameters
| Name | Type | Required | Behavior |
|---|---|---|---|
options |
table |
optional | Lua option table. Field names match the corresponding DiscordLua option type when one exists. |
Returns
GuildMemberEditMeOptions — the same instance, for chaining.
Example
local discord = require("discord")
-- object is a GuildMemberEditMeOptions
GuildMemberEditMeOptions.encode({})Static members
-
GuildMemberEditMeOptions.fields
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