Table of Contents

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

files Dictionary<string, Stream>

The Files that should be sent.

resetStreamPosition bool

Tells 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.