Table of Contents

Constructor DiscordMessageFile

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DiscordMessageFile(string, Stream, long?, string?, string?, AddFileOptions)

public DiscordMessageFile(string fileName, Stream stream, long? resetPositionTo = null, string? fileType = null, string? contentType = null, AddFileOptions fileOptions = AddFileOptions.None)

Parameters

fileName string
stream Stream
resetPositionTo long?
fileType string
contentType string
fileOptions AddFileOptions