Table of Contents

Method AddFiles

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

AddFiles(Dictionary<string, Stream>, bool)

Adds the given files to send at the execution of the webhook.

public DiscordWebhookBuilder AddFiles(Dictionary<string, Stream> files, bool resetStreamPosition = false)

Parameters

files Dictionary<string, Stream>

Dictionary of file name and file data.

resetStreamPosition bool

Tells the API Client to reset the stream position to what it was after the file is sent.

Returns

DiscordWebhookBuilder