cb10-sdk
Version:
Cybozu Office 10 SDK for Node.js
28 lines • 1.02 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const request_1 = __importDefault(require("./request"));
/**
* Cybozu Office 10の掲示板機能にアクセスするためのクライアントクラス
*
* このクラスは掲示板の閲覧、コメントの投稿などの機能を提供します。
*/
class BulletinClient {
constructor(transport) {
this.transport = transport;
}
/**
* 掲示板にコメントを追加
*
* @param options - コメントデータ
* @returns コメントの追加が成功したかどうか
* @throws {CybozuOfficeSDKException} コメントの追加に失敗した場合
*/
sendComment(options) {
return this.transport.post(request_1.default.sendComment(options));
}
}
exports.default = BulletinClient;
//# sourceMappingURL=BulletinClient.js.map