> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CommunityNotesClient

कम्युनिटी नोट्स ऑपरेशनों के लिए क्लाइंट

यह क्लाइंट X API के कम्युनिटी नोट्स एंडपॉइंट्स के साथ इंटरैक्ट करने के लिए मेथड उपलब्ध कराता है।
यह कम्युनिटी नोट्स से जुड़े सभी ऑपरेशनों के लिए प्रमाणीकरण, अनुरोध फ़ॉर्मैटिंग और रिस्पॉन्स
पार्सिंग को संभालता है।

<div id="constructors">
  ## कंस्ट्रक्टर्स
</div>

<div id="constructor">
  ### constructor
</div>

• **new CommunityNotesClient**(`client`): [`CommunityNotesClient`](/hi/xdks/typescript/reference/classes/CommunityNotesClient)

कम्युनिटी नोट्स Client का एक नया इंस्टेंस बनाता है

<div id="parameters">
  #### पैरामीटर
</div>

| नाम      | type                                                     | विवरण                       |
| :------- | :------------------------------------------------------- | :-------------------------- |
| `client` | [`Client`](/hi/xdks/typescript/reference/classes/Client) | मुख्य X API Client इंस्टेंस |

<div id="returns">
  #### रिटर्न
</div>

[`CommunityNotesClient`](/hi/xdks/typescript/reference/classes/CommunityNotesClient)

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:186](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L186)

<div id="methods">
  ## मेथड्स
</div>

<div id="searcheligibleposts">
  ### searchEligiblePosts
</div>

▸ **searchEligiblePosts**(`testMode`, `options`): `Promise`\<`Response`>

कम्युनिटी नोट्स के लिए पात्र पोस्ट्स खोजता है
उन सभी पोस्ट्स को लौटाता है जो कम्युनिटी नोट्स के लिए पात्र हैं।

<div id="parameters">
  #### पैरामीटर
</div>

| Name       | Type                                                                       | Description                                                                                                                                                         |
| :--------- | :------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `testMode` | `boolean`                                                                  | यदि true है, तो परीक्षण के लिए पोस्ट्स की एक सूची लौटाएँ। यदि false है, तो उन पोस्ट्स की एक सूची लौटाएँ जिन पर बॉट्स प्रोडक्ट के लिए प्रस्तावित नोट्स लिख सकते हैं। |
| `options`  | `SearchEligiblePostsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                                                   |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

वह Promise जो API रिस्पॉन्स पर resolve होता है, या यदि requestOptions.raw true है, तो raw Response पर

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:231](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L231)

▸ **searchEligiblePosts**(`testMode`, `options?`): `Promise`\<[`Get2NotesSearchPostsEligibleForNotesResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2NotesSearchPostsEligibleForNotesResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type                         |
| :--------- | :--------------------------- |
| `testMode` | `boolean`                    |
| `options?` | `SearchEligiblePostsOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`Get2NotesSearchPostsEligibleForNotesResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2NotesSearchPostsEligibleForNotesResponse)>

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:244](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L244)

***

<div id="evaluate">
  ### evaluate
</div>

▸ **evaluate**(`options`): `Promise`\<`Response`>

किसी कम्युनिटी नोट का मूल्यांकन करें
कम्युनिटी नोट का मूल्यांकन करने के लिए एंडपॉइंट।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                                                            |
| :-------- | :-------------------------------------------------------------- |
| `options` | `EvaluateOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर रिज़ॉल्व होने वाला Promise, या यदि requestOptions.raw true है, तो raw `Response`

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:535](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L535)

▸ **evaluate**(`options?`): `Promise`\<[`EvaluateNoteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.EvaluateNoteResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type              |
| :--------- | :---------------- |
| `options?` | `EvaluateOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`EvaluateNoteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.EvaluateNoteResponse)>

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:544](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L544)

***

<div id="searchwritten">
  ### searchWritten
</div>

▸ **searchWritten**(`testMode`, `options`): `Promise`\<`Response`>

लिखे गए कम्युनिटी नोट्स खोजता है
उपयोगकर्ता द्वारा लिखे गए सभी कम्युनिटी नोट्स लौटाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type                                                                 | विवरण                                                                                                                          |
| :--------- | :------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------- |
| `testMode` | `boolean`                                                            | यदि true है, तो परीक्षण के लिए कॉलर द्वारा लिखे गए notes लौटाएँ। यदि false है, तो product पर कॉलर द्वारा लिखे गए notes लौटाएँ। |
| `options`  | `SearchWrittenOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

ऐसा Promise जो API रिस्पॉन्स पर रिज़ॉल्व होता है, या यदि `requestOptions.raw` true है, तो raw Response

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:640](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L640)

▸ **searchWritten**(`testMode`, `options?`): `Promise`\<[`Get2NotesSearchNotesWrittenResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2NotesSearchNotesWrittenResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type                   |
| :--------- | :--------------------- |
| `testMode` | `boolean`              |
| `options?` | `SearchWrittenOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`Get2NotesSearchNotesWrittenResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2NotesSearchNotesWrittenResponse)>

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:653](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L653)

***

<div id="delete">
  ### delete
</div>

▸ **delete**(`id`, `options`): `Promise`\<`Response`>

किसी कम्युनिटी नोट को हटाएँ
यह किसी कम्युनिटी नोट को हटाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम                          | type     | विवरण                               |
| :--------------------------- | :------- | :---------------------------------- |
| `id`                         | `string` | हटाई जाने वाली कम्युनिटी नोट की id। |
| `options`                    | `Object` | -                                   |
| `options.requestOptions`     | `Object` | -                                   |
| `options.requestOptions.raw` | `true`   | -                                   |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर resolve होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:826](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L826)

▸ **delete**(`id`): `Promise`\<[`DeleteNoteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.DeleteNoteResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम  | प्रकार   |
| :--- | :------- |
| `id` | `string` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`DeleteNoteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.DeleteNoteResponse)>

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:839](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L839)

***

<div id="create">
  ### create
</div>

▸ **create**(`options`): `Promise`\<`Response`>

एक कम्युनिटी नोट बनाएँ
यह LLM उपयोग के मामले के लिए कम्युनिटी नोट endpoint बनाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                                                          |
| :-------- | :------------------------------------------------------------ |
| `options` | `CreateOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर resolve होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:926](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L926)

▸ **create**(`options?`): `Promise`\<[`CreateNoteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.CreateNoteResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type            |
| :--------- | :-------------- |
| `options?` | `CreateOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`CreateNoteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.CreateNoteResponse)>

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[community\_notes/client.ts:935](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/community_notes/client.ts#L935)
