UNPKG

rcs-sdk

Version:

封装客户端与平台间的相互调用功能。

16 lines 744 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createConversation = exports.getAllConversationList = void 0; const Conversation = require("../srvapi/conversation"); const debug = require('debug')('rscsdk:conversation'); function getAllConversationList(startContributionId, count = 20) { let user = this.account.nameAddr; return Conversation.getAllConversationList.call(this, user, startContributionId, count); } exports.getAllConversationList = getAllConversationList; function createConversation(peer) { let viewer = this.account.nameAddr; return Conversation.createConversation.call(this, viewer, peer); } exports.createConversation = createConversation; //# sourceMappingURL=index.js.map