Skip to contents

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