Skip to main content
Version: 0.9

Interface: InternalSetPostFlairOptions

Hierarchy

Table of contents

Properties

Properties

backgroundColor

Optional backgroundColor: string

The flair background color. Either 'transparent' or a hex color code. e.g. #FFC0CB

Inherited from

SetFlairOptions.backgroundColor


cssClass

Optional cssClass: string

The flair CSS class

Inherited from

SetFlairOptions.cssClass


flairTemplateId

Optional flairTemplateId: string

The flair template's ID

Inherited from

SetFlairOptions.flairTemplateId


postId

postId: `t3_${string}`


subredditName

subredditName: string

The name of the subreddit of the item to set the flair on

Inherited from

SetFlairOptions.subredditName


text

Optional text: string

The flair text

Inherited from

SetFlairOptions.text


textColor

Optional textColor: FlairTextColor

The flair text color. Either 'dark' or 'light'.

Inherited from

SetFlairOptions.textColor