Method AddFiles
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
AddFiles(Dictionary<string, Stream>, bool)
Adds file to the message.
public DiscordMessageBuilder AddFiles(Dictionary<string, Stream> files, bool resetStreamPosition = false)
Parameters
filesDictionary<string, Stream>The Files that should be sent.
resetStreamPositionboolTells the API Client to reset the stream position to what it was after the file is sent.
Returns
- DiscordMessageBuilder
The current builder to be chained.