DiscordLua
discorddiscord
v1.2.4
Install

DMMessageManager

Manager
On this page

DMMessageManager is the cache and REST facade for DMMessage objects owned by the parent. Typical calls are fetch, create, edit, delete, resolve, and resolveId.

manager Module 1.2.4 Source

Constructor

DMMessageManager.new(client, channel, maxSize)

The class table is callable, so DMMessageManager(client, channel, maxSize) is the same as .new.

NameTypeRequiredBehavior
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.
lua
local discord = require("discord")
local object = discord.DMMessageManager({}, {}, {})

Examples

lua
local discord = require("discord")
local object = discord.DMMessageManager({})

ApplicationCommandManager · ApplicationCommandPermissionsManager · ApplicationEmojiManager · AutoModerationRuleManager · BaseGuildEmojiManager · BaseManager · CachedManager · CategoryChannelChildManager

Version: discord 1.2.4 · runtime 1.0.0

Search Ctrl K Navigate Open Esc