Skip to content

[Conversation] Pin Conversation

  • Endpoint Path: /api/fresns/v1/conversation/{uidOrUsername}/pin
  • Method: PATCH
  • Request: Rest

Headers Optional Parameter

KeyPublic Mode (Required)Private Mode (Required)
X-Fresns-Aidrequiredrequired
X-Fresns-Aid-Tokenrequiredrequired
X-Fresns-Uidrequiredrequired
X-Fresns-Uid-Tokenrequiredrequired

Path Variables

KeyTypeRequiredDescription
uidOrUsernameNumber / StringrequiredUser uid or username

Request Description

  • If not pinned, pin it; if pinned, unpin it.

Return

json
{
    "code": 0,
    "message": "ok",
    "data": null
}

Released under the Apache-2.0 License