lemmy_edit_custom_emoji: Edit an existing custom emoji

View source: R/http-methods.R

lemmy_edit_custom_emojiR Documentation

Edit an existing custom emoji

Description

HTTP.PUT /custom_emoji

Usage

lemmy_edit_custom_emoji(
  id,
  category,
  image_url,
  alt_text,
  keywords,
  auth,
  .lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)

Arguments

id

A numeric value.

category

A character value.

image_url

A character value.

alt_text

A character value.

keywords

A character vector.

auth

A character value.

.lemmy_instance

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

Value

A list of length 1:

<list>
`-custom_emoji: <list>
  |-custom_emoji: <list>
  | |-id: A numeric value
  | |-local_site_id: A numeric value
  | |-shortcode: A character value
  | |-image_url: A character value
  | |-alt_text: A character value
  | |-category: A character value
  | |-published: A character value
  | `-updated: (Optional) A character value
  `-keywords: <list>
    `-[Each element]: <list>
      |-id: A numeric value
      |-custom_emoji_id: A numeric value
      `-keyword: A character value

remmy documentation built on July 26, 2023, 5:37 p.m.