| Name |
Type |
Description |
Notes |
| subreddit |
String |
Target subreddit name (without "r/" prefix). Overrides the default. Use GET /v1/accounts/{id}/reddit-subreddits to list options. |
[optional] |
| title |
String |
Post title. Defaults to the first line of content, truncated to 300 characters. |
[optional] |
| url |
String |
URL for link posts. If provided (and forceSelf is not true), creates a link post instead of a text post. |
[optional] |
| force_self |
Boolean |
When true, creates a text/self post even when a URL or media is provided. |
[optional] |
| flair_id |
String |
Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs. |
[optional] |
require 'late-sdk'
instance = Late::RedditPlatformData.new(
subreddit: socialmedia,
title: null,
url: null,
force_self: null,
flair_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
)