updateTestimonial
codebolt.agentPortfolio.updateTestimonial(testimonialId: string, content: string): Promise<UpdateTestimonialResponse>
Updates an existing testimonial with new content.
Parameters
testimonialId(string): The ID of the testimonial to update.content(string): The new testimonial content.
Returns
Promise<[UpdateTestimonialResponse](/docs/reference/type-reference/codeboltjs/interfaces/UpdateTestimonialResponse)>: A promise that resolves to the updated testimonial.
Examples
await codebolt.agentPortfolio.updateTestimonial('testimonial-123', 'Updated feedback content');
Notes
- Only the testimonial author can update it
- Updates maintain the original creation timestamp