|
| FlairTemplateV2Input (string text=null, string flairType=null, bool? textEditable=null, string textColor="dark", string backgroundColor="#EEEEFF", string flairTemplateId="", bool? modOnly=false) |
| Create or update a flair template. This new endpoint is primarily used for the redesign. More...
|
|
| BaseInput () |
| Set the raw_json. More...
|
|
|
string | background_color [get, set] |
| a 6-digit rgb hex color, e.g. #AABBCC More...
|
|
string | flair_template_id [get, set] |
| the ID of the template to modify More...
|
|
string | flair_type [get, set] |
| one of (USER_FLAIR, LINK_FLAIR) More...
|
|
bool? | mod_only [get, set] |
| boolean value More...
|
|
string | text_color [get, set] |
| one of (light, dark) More...
|
|
bool? | text_editable [get, set] |
| boolean value More...
|
|
string | text [get, set] |
| a string no longer than 64 characters More...
|
|
int | raw_json [get, set] |
| Required by the API for all endpoints. Prevents <, >, and & in the response from being htmlencoded by the API. See: https://www.reddit.com/dev/api#response_body_encoding More...
|
|
◆ FlairTemplateV2Input()
Reddit.Inputs.Flair.FlairTemplateV2Input.FlairTemplateV2Input |
( |
string |
text = null , |
|
|
string |
flairType = null , |
|
|
bool? |
textEditable = null , |
|
|
string |
textColor = "dark" , |
|
|
string |
backgroundColor = "#EEEEFF" , |
|
|
string |
flairTemplateId = "" , |
|
|
bool? |
modOnly = false |
|
) |
| |
Create or update a flair template. This new endpoint is primarily used for the redesign.
- Parameters
-
text | a string no longer than 64 characters |
flairType | one of (USER_FLAIR, LINK_FLAIR) |
textEditable | boolean value |
textColor | one of (light, dark) |
backgroundColor | a 6-digit rgb hex color, e.g. #AABBCC |
flairTemplateId | the ID of the template to modify; leave blank to create new |
modOnly | boolean value |
◆ background_color
string Reddit.Inputs.Flair.FlairTemplateV2Input.background_color |
|
getset |
a 6-digit rgb hex color, e.g. #AABBCC
◆ flair_template_id
string Reddit.Inputs.Flair.FlairTemplateV2Input.flair_template_id |
|
getset |
the ID of the template to modify
◆ flair_type
string Reddit.Inputs.Flair.FlairTemplateV2Input.flair_type |
|
getset |
one of (USER_FLAIR, LINK_FLAIR)
◆ mod_only
bool? Reddit.Inputs.Flair.FlairTemplateV2Input.mod_only |
|
getset |
◆ text_color
string Reddit.Inputs.Flair.FlairTemplateV2Input.text_color |
|
getset |
The documentation for this class was generated from the following file: