GuildMessageManager
ManagerOn this page
GuildMessageManager is the cache and REST facade for GuildMessage objects owned by the parent. Typical calls are fetch, create, edit, delete, resolve, and resolveId.
Constructor
GuildMessageManager.new(client, channel, maxSize) The class table is callable, so GuildMessageManager(client, channel, maxSize) is the same as .new.
| Name | Type | Required | Behavior |
|---|---|---|---|
client |
any |
required | Passed through to the implementation as written. |
channel |
any |
required | Passed through to the implementation as written. |
maxSize |
any |
required | Passed through to the implementation as written. |
local discord = require("discord")
local object = discord.GuildMessageManager({}, {}, {})Examples
local discord = require("discord")
local object = discord.GuildMessageManager({})Related APIs
ApplicationCommandManager · ApplicationCommandPermissionsManager · ApplicationEmojiManager · AutoModerationRuleManager · BaseGuildEmojiManager · BaseManager · CachedManager · CategoryChannelChildManager
Version: discord 1.2.4 · runtime 1.0.0