RedditThingPrefix

about_RedditThingPrefix

SHORT DESCRIPTION

Describes the RedditThingPrefix Enum

LONG DESCRIPTION

An data object returned from the Reddit API will have a type prefix to identify what kind of Reddit Thing it is. This is subset of RedditThingKind is only used with data objects such as comments, accounts, and links and not with collection objects such as mores and listings.

The RedditThingPrefix Enumerator is imported automatically when you import the PSRAW module.

Fields

t1

Comment

t2

Account

t3

Link

t4

Message

t5

Subreddit

t6

Award

t8

Promotion campaign

EXAMPLES

Example 1

$Comment = [RedditThingPrefix]::t1

SEE ALSO

about_RedditThingPrefix

about_RedditThingKind

about_RedditThing

Invoke-RedditRequest

https://github.com/reddit/reddit/wiki/JSON

https://www.reddit.com/wiki/api

https://psraw.readthedocs.io/