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
stringstream
StreamresetPositionTo
long?fileType
stringcontentType
stringfileOptions
AddFileOptions