import {RestRequestConfig} from '../../../../../../Rest'; import Parent from '..'; import RingCentral from '../../../../../..'; class Index { rc: RingCentral; parent: Parent; constructor(parent: Parent) { this.parent = parent; this.rc = parent.rc; } path(): string { return `${this.parent.path()}/text`; } /** * Operation: Update Post * Rate Limit Group: Medium * Http put /restapi/v1.0/glip/groups/{groupId}/posts/{postId}/text */ async put(body: string, config?: RestRequestConfig): Promise { const r = await this.rc.put(this.path(), body, undefined, config); return r.data; } } export default Index;