Reddit.NET  1.5
Reddit.NET is a .NET Standard library that provides easy access to the Reddit API with virtually no boilerplate code required.
Reddit.Inputs.ImageUploadInput Class Reference
Inheritance diagram for Reddit.Inputs.ImageUploadInput:
Reddit.Inputs.BaseInput

Public Member Functions

 ImageUploadInput (string filePath, string mimeType)
 Data for image to be uploaded. More...
 
- Public Member Functions inherited from Reddit.Inputs.BaseInput
 BaseInput ()
 Set the raw_json. More...
 

Properties

string filepath [get, set]
 name and extension of the image file e.g. image1.png More...
 
string mimetype [get, set]
 mime type of the image e.g. image/png More...
 
- Properties inherited from Reddit.Inputs.BaseInput
int raw_json [get, set]
 Required by the API for all endpoints. Prevents <, >, and & in the response from being htmlencoded by the API. See: https://www.reddit.com/dev/api#response_body_encoding More...
 

Constructor & Destructor Documentation

◆ ImageUploadInput()

Reddit.Inputs.ImageUploadInput.ImageUploadInput ( string  filePath,
string  mimeType 
)

Data for image to be uploaded.

Parameters
filePathname and extension of the image file e.g. image1.png
mimeTypemime type of the image e.g. image/png

Property Documentation

◆ filepath

string Reddit.Inputs.ImageUploadInput.filepath
getset

name and extension of the image file e.g. image1.png

◆ mimetype

string Reddit.Inputs.ImageUploadInput.mimetype
getset

mime type of the image e.g. image/png


The documentation for this class was generated from the following file: