Class MessageCache
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
public class MessageCache : IMessageCacheProvider
- Inheritance
-
objectMessageCache
- Implements
Constructors
Methods
- Add(DiscordMessage)
Add a DiscordMessage object to the cache.
- Remove(ulong)
Remove the DiscordMessage object associated with the message ID from the cache.
- TryGet(ulong, out DiscordMessage?)
Try to get a DiscordMessage object associated with the message ID from the cache.