Skip to content

[Conversation] Pin

  • Endpoint Path: /api/v2/conversation/pin
  • Method: PUT
  • Request: application/json

Headers Optional Parameter

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

Body Params

Parameter NameTypeRequiredDescription
conversationIdNumberrequiredConversation ID

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