overwolf.social.reddit.share
Overwolf APIs / overwolf / overwolf / social / reddit / share
function share(
redditShareParams: ShareParameters,
callback: CallbackFunction<Result>,
): void;
If the user is currently logged into Reddit, this will perform the video share.
Possible errors that can occur:
- Disconnected (user isn't signed in)
- MissingFile (trying to share a missing file)
- UnsupportedFile (trying to share an unsupported format)
Parameters
| Parameter | Type | Description |
|---|---|---|
redditShareParams | ShareParameters | The share parameters. |
callback | CallbackFunction<Result> | Will contain the status of the request. |
Returns
void