Method TryGetStreamMessage
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
TryGetStreamMessage(out MemoryStream?)
Attempts to retrieve a message wrapped in a MemoryStream. This is only permissible if the log level is higher than Trace or if inbound gateway logging is disabled.
public bool TryGetStreamMessage(out MemoryStream? message)
Parameters
message
MemoryStream