setPinnedConversations
Ghim hoặc bỏ ghim các cuộc hội thoại
api.setPinnedConversations(pinned, threadId[, type])
Parameters
Return
Examples
import { ThreadType } from "zca-js";
const threadId = "0000000000000000000";
api.pinConversations(true, threadId, ThreadType.Group)
.then(console.log)
.catch(console.error);Related
Last updated