diff --git a/src/http.ts b/src/http.ts index 79180fd..fbc4ef5 100644 --- a/src/http.ts +++ b/src/http.ts @@ -151,6 +151,8 @@ import { UpdateTagline } from "./types/UpdateTagline"; import { DeleteTagline } from "./types/DeleteTagline"; import { ListTaglines } from "./types/ListTaglines"; import { ListTaglinesResponse } from "./types/ListTaglinesResponse"; +import { ListCustomEmojis } from "./types/ListCustomEmojis"; +import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse"; enum HttpType { Get = "GET", @@ -1445,6 +1447,19 @@ export class LemmyHttp { ); } + /** + * List custom emojis + * + * `HTTP.GET /custom_emoji/list` + */ + listCustomEmojis(form: ListCustomEmojis) { + return this.#wrapper( + HttpType.Get, + "/custom_emoji/list", + form, + ); + } + /** * Create a new tagline *