lemmy_save_user_settings {remmy}R Documentation

Save your user settings.

Description

HTTP.PUT /user/save_user_settings

Usage

lemmy_save_user_settings(
  show_nsfw = NULL,
  show_scores = NULL,
  theme = NULL,
  default_sort_type = NULL,
  default_listing_type = NULL,
  interface_language = NULL,
  avatar = NULL,
  banner = NULL,
  display_name = NULL,
  email = NULL,
  bio = NULL,
  matrix_user_id = NULL,
  show_avatars = NULL,
  send_notifications_to_email = NULL,
  bot_account = NULL,
  show_bot_accounts = NULL,
  show_read_posts = NULL,
  show_new_post_notifs = NULL,
  discussion_languages = NULL,
  generate_totp_2fa = NULL,
  auth,
  open_links_in_new_tab = NULL,
  .lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)

Arguments

show_nsfw

(Optional) A logical value.

show_scores

(Optional) A logical value.

theme

(Optional) A character value.

default_sort_type

(Optional) One of "Active", "Hot", "New", "Old", "TopDay", "TopWeek", "TopMonth", "TopYear", "TopAll", "MostComments", "NewComments", "TopHour", "TopSixHour", "TopTwelveHour", "TopThreeMonths", "TopSixMonths", or "TopNineMonths".

default_listing_type

(Optional) One of "All", "Local", or "Subscribed".

interface_language

(Optional) A character value.

avatar

(Optional) A character value.

(Optional) A character value.

display_name

(Optional) A character value.

email

(Optional) A character value.

bio

(Optional) A character value.

matrix_user_id

(Optional) A character value.

show_avatars

(Optional) A logical value.

send_notifications_to_email

(Optional) A logical value.

bot_account

(Optional) A logical value.

show_bot_accounts

(Optional) A logical value.

show_read_posts

(Optional) A logical value.

show_new_post_notifs

(Optional) A logical value.

discussion_languages

(Optional) A numeric vector.

generate_totp_2fa

(Optional) A logical value.

auth

A character value.

open_links_in_new_tab

(Optional) A logical value.

.lemmy_instance

Default: "https://lemmy.world". Change the default instance by setting the lemmy_instance options().

Value

A list of length 3:

<list>
|-jwt: (Optional) A character value
|-registration_created: A logical value
`-verify_email_sent: A logical value

[Package remmy version 0.1.0 Index]