> ## 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.

# ListsClient

सूची ऑपरेशनों के लिए Client

यह Client, X API के सूची एंडपॉइंट्स के साथ इंटरैक्ट करने के लिए मेथड उपलब्ध कराता है।
यह सभी सूची-संबंधित ऑपरेशनों के लिए authentication, request formatting और रिस्पॉन्स
parsing को संभालता है।

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

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

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

एक नया Lists क्लाइंट इंस्टेंस बनाता है

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

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

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

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

#### यहाँ परिभाषित

[lists/client.ts:294](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L294)

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

<div id="getfollowers">
  ### getFollowers
</div>

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

सूची के फ़ॉलोअर्स प्राप्त करें
किसी विशिष्ट सूची के ID के आधार पर उसे फ़ॉलो करने वाले उपयोगकर्ताओं की सूची प्राप्त करता है।

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

| नाम       | type                                                                | विवरण       |
| :-------- | :------------------------------------------------------------------ | :---------- |
| `id`      | `string`                                                            | सूची की ID। |
| `options` | `GetFollowersOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -           |

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

`Promise`\<`Response`>

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

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

[lists/client.ts:339](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L339)

▸ **getFollowers**(`id`, `options?`): `Promise`\<[`Get2ListsIdFollowersResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2ListsIdFollowersResponse)>

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

| नाम        | type                  |
| :--------- | :-------------------- |
| `id`       | `string`              |
| `options?` | `GetFollowersOptions` |

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

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

#### यहाँ परिभाषित

[lists/client.ts:352](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L352)

***

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

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

सूची बनाएँ
प्रमाणित उपयोगकर्ता के लिए नई सूची बनाता है।

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

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

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

`Promise`\<`Response`>

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

#### इसमें परिभाषित

[lists/client.ts:560](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L560)

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

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

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

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

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

#### में परिभाषित

[lists/client.ts:569](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L569)

***

<div id="getmembers">
  ### getMembers
</div>

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

सूची के सदस्य प्राप्त करें
उसकी id के आधार पर किसी विशिष्ट सूची के सदस्य उपयोगकर्ताओं की सूची प्राप्त करता है।

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

| नाम       | type                                                              | विवरण               |
| :-------- | :---------------------------------------------------------------- | :------------------ |
| `id`      | `string`                                                          | सूची का पहचानकर्ता। |
| `options` | `GetMembersOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                   |

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

`Promise`\<`Response`>

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

#### इसमें परिभाषित

[lists/client.ts:665](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L665)

▸ **getMembers**(`id`, `options?`): `Promise`\<[`Get2ListsIdMembersResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2ListsIdMembersResponse)>

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

| नाम        | type                |
| :--------- | :------------------ |
| `id`       | `string`            |
| `options?` | `GetMembersOptions` |

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

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

#### यहाँ परिभाषित

[lists/client.ts:678](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L678)

***

<div id="addmember">
  ### addMember
</div>

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

सूची में सदस्य जोड़ें
उसकी ID का उपयोग करके किसी विशिष्ट सूची में एक User जोड़ता है।

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

| नाम       | type                                                             | विवरण                                 |
| :-------- | :--------------------------------------------------------------- | :------------------------------------ |
| `id`      | `string`                                                         | उस सूची की ID जिसमें सदस्य जोड़ना है। |
| `options` | `AddMemberOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                     |

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

`Promise`\<`Response`>

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

#### इसमें परिभाषित

[lists/client.ts:890](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L890)

▸ **addMember**(`id`, `options?`): `Promise`\<[`ListMutateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.ListMutateResponse)>

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

| नाम        | type               |
| :--------- | :----------------- |
| `id`       | `string`           |
| `options?` | `AddMemberOptions` |

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

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

#### यहाँ परिभाषित

[lists/client.ts:903](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L903)

***

<div id="getposts">
  ### getPosts
</div>

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

सूची के पोस्ट्स प्राप्त करें
यह किसी विशिष्ट सूची से उसके ID के आधार पर संबद्ध पोस्ट्स की सूची प्राप्त करता है।

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

| Name      | type                                                            | Description |
| :-------- | :-------------------------------------------------------------- | :---------- |
| `id`      | `string`                                                        | सूची की ID। |
| `options` | `GetPostsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -           |

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

`Promise`\<`Response`>

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

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

[lists/client.ts:1011](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1011)

▸ **getPosts**(`id`, `options?`): `Promise`\<[`Get2ListsIdTweetsResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2ListsIdTweetsResponse)>

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

| नाम        | type              |
| :--------- | :---------------- |
| `id`       | `string`          |
| `options?` | `GetPostsOptions` |

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

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

#### यहाँ परिभाषित

[lists/client.ts:1024](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1024)

***

<div id="removememberbyuserid">
  ### removeMemberByUserId
</div>

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

सूची सदस्य को हटाएँ
किसी विशिष्ट सूची से उसकी ID और User की ID के आधार पर किसी User को हटाता है।

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

| नाम                          | type     | विवरण                                          |
| :--------------------------- | :------- | :--------------------------------------------- |
| `id`                         | `string` | उस सूची की ID, जिससे किसी सदस्य को हटाना है।   |
| `userId`                     | `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>

[lists/client.ts:1303](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1303)

▸ **removeMemberByUserId**(`id`, `userId`): `Promise`\<[`ListMutateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.ListMutateResponse)>

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

| नाम      | type     |
| :------- | :------- |
| `id`     | `string` |
| `userId` | `string` |

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

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

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

[lists/client.ts:1320](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1320)

***

<div id="getbyid">
  ### getById
</div>

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

ID से सूची प्राप्त करें
किसी विशिष्ट सूची का विवरण उसकी ID से प्राप्त करता है।

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

| नाम       | type                                                           | विवरण       |
| :-------- | :------------------------------------------------------------- | :---------- |
| `id`      | `string`                                                       | सूची का ID। |
| `options` | `GetByIdOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -           |

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

`Promise`\<`Response`>

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

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

[lists/client.ts:1423](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1423)

▸ **getById**(`id`, `options?`): `Promise`\<[`Get2ListsIdResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2ListsIdResponse)>

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

| नाम        | type             |
| :--------- | :--------------- |
| `id`       | `string`         |
| `options?` | `GetByIdOptions` |

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

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

#### में परिभाषित

[lists/client.ts:1436](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1436)

***

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

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

सूची अपडेट करें
प्रमाणीकृत उपयोगकर्ता के स्वामित्व वाली किसी विशिष्ट सूची के विवरण को उसकी ID के आधार पर अपडेट करता है।

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

| नाम       | type                                                          | विवरण                            |
| :-------- | :------------------------------------------------------------ | :------------------------------- |
| `id`      | `string`                                                      | संशोधित की जाने वाली सूची का id। |
| `options` | `UpdateOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                |

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

`Promise`\<`Response`>

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

#### यहां परिभाषित है

[lists/client.ts:1610](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1610)

▸ **update**(`id`, `options?`): `Promise`\<[`ListUpdateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.ListUpdateResponse)>

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

| नाम        | type            |
| :--------- | :-------------- |
| `id`       | `string`        |
| `options?` | `UpdateOptions` |

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

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

#### इसमें परिभाषित

[lists/client.ts:1623](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1623)

***

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

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

सूची हटाएँ
प्रमाणीकृत उपयोगकर्ता के स्वामित्व वाली किसी विशिष्ट सूची को उसके id के आधार पर हटाता है।

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

| नाम                          | type     | विवरण                      |
| :--------------------------- | :------- | :------------------------- |
| `id`                         | `string` | हटाई जाने वाली सूची का ID। |
| `options`                    | `Object` | -                          |
| `options.requestOptions`     | `Object` | -                          |
| `options.requestOptions.raw` | `true`   | -                          |

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

`Promise`\<`Response`>

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

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

[lists/client.ts:1731](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1731)

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

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

| नाम  | type     |
| :--- | :------- |
| `id` | `string` |

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

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

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

[lists/client.ts:1744](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/lists/client.ts#L1744)
