likePrompt(promptIdentifier: string): Promise<LikePromptResponse>| Name | Type | Description |
|---|---|---|
promptIdentifier* | string |
Like a prompt.
The identifier of the prompt. Can be in the format:
// Like a prompt
const response = await client.likePrompt("owner/useful-prompt");
console.log(`Prompt now has ${response.likes} likes`);