Table of Contents

Method AddFiles

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

AddFiles(Dictionary<string, Stream>, bool)

Adds the given files to the interaction response builder.

public DiscordInteractionResponseBuilder 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

DiscordInteractionResponseBuilder

The builder to chain calls with.