lemmy_get_unread_count: Get your unread counts

View source: R/http-methods.R

lemmy_get_unread_countR Documentation

Get your unread counts

Description

HTTP.GET /user/unread_count

Usage

lemmy_get_unread_count(
  auth,
  .lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)

Arguments

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 3:

<list>
|-replies: A numeric value
|-mentions: A numeric value
`-private_messages: A numeric value

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