Interface: CreateFlairTemplateOptions
Hierarchy
CreateFlairTemplateOptions
Table of contents
Properties
Properties
allowUserEdits
• Optional allowUserEdits: boolean
Whether or not users are allowed to edit this flair template before using it.
allowableContent
• Optional allowableContent: AllowableFlairContent
The flair template's allowable content. Either 'all', 'emoji', or 'text'.
backgroundColor
• Optional backgroundColor: string
The background color of the flair. Either 'transparent' or a hex color code. e.g. #FFC0CB
maxEmojis
• Optional maxEmojis: number
modOnly
• Optional modOnly: boolean
Whether or not this flair template is only available to moderators.
subredditName
• subredditName: string
The name of the subreddit to create the flair template in.
text
• text: string
The text to display in the flair.
textColor
• Optional textColor: FlairTextColor
Either 'dark' or 'light'.