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

# PostsClient

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

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

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

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

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

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

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

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

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

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

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

[posts/client.ts:789](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L789)

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

<div id="getinsights28hr">
  ### getInsights28hr
</div>

▸ **getInsights28hr**(`tweetIds`, `granularity`, `requestedMetrics`, `options`): `Promise`\<`Response`>

28 घंटे की पोस्ट इनसाइट्स प्राप्त करें
पिछले 28 घंटों के दौरान निर्दिष्ट पोस्ट्स के लिए एंगेजमेंट मेट्रिक्स प्राप्त करता है।

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

| नाम                | Type                                                                   | विवरण                                      |
| :----------------- | :--------------------------------------------------------------------- | :----------------------------------------- |
| `tweetIds`         | `any`\[]                                                               | 28hr मेट्रिक्स के लिए PostIds की सूची।     |
| `granularity`      | `string`                                                               | मेट्रिक्स रिस्पॉन्स की ग्रैन्युलैरिटी।     |
| `requestedMetrics` | `any`\[]                                                               | ऐतिहासिक अनुरोध के लिए अनुरोधित मेट्रिक्स। |
| `options`          | `GetInsights28hrOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                          |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:842](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L842)

▸ **getInsights28hr**(`tweetIds`, `granularity`, `requestedMetrics`, `options?`): `Promise`\<[`Get2Insights28hrResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2Insights28hrResponse)>

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

| नाम                | type                     |
| :----------------- | :----------------------- |
| `tweetIds`         | `any`\[]                 |
| `granularity`      | `string`                 |
| `requestedMetrics` | `any`\[]                 |
| `options?`         | `GetInsights28hrOptions` |

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

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

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

[posts/client.ts:863](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L863)

***

<div id="getanalytics">
  ### getAnalytics
</div>

▸ **getAnalytics**(`ids`, `endTime`, `startTime`, `granularity`, `options`): `Promise`\<`Response`>

पोस्ट एनालिटिक्स प्राप्त करें
निर्धारित समय-सीमा के भीतर निर्दिष्ट पोस्ट्स के लिए एनालिटिक्स डेटा प्राप्त करता है।

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

| Name          | type                                                                | विवरण                                                                           |
| :------------ | :------------------------------------------------------------------ | :------------------------------------------------------------------------------ |
| `ids`         | `any`\[]                                                            | पोस्ट ID की अल्पविराम से अलग की गई सूची। एक अनुरोध में अधिकतम 100 की अनुमति है। |
| `endTime`     | `string`                                                            | YYYY-MM-DDTHH:mm:ssZ. समय सीमा के अंत को दर्शाने वाला UTC टाइमस्टैम्प।          |
| `startTime`   | `string`                                                            | YYYY-MM-DDTHH:mm:ssZ. समय सीमा की शुरुआत को दर्शाने वाला UTC टाइमस्टैम्प।       |
| `granularity` | `string`                                                            | खोज गणना परिणामों के लिए ग्रैन्युलैरिटी।                                        |
| `options`     | `GetAnalyticsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                               |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:1052](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1052)

▸ **getAnalytics**(`ids`, `endTime`, `startTime`, `granularity`, `options?`): `Promise`\<[`Analytics`](/hi/xdks/typescript/reference/interfaces/Schemas.Analytics)>

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

| नाम           | type                  |
| :------------ | :-------------------- |
| `ids`         | `any`\[]              |
| `endTime`     | `string`              |
| `startTime`   | `string`              |
| `granularity` | `string`              |
| `options?`    | `GetAnalyticsOptions` |

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

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

<div id="defined-in">
  #### इसमें परिभाषित है
</div>

[posts/client.ts:1077](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1077)

***

<div id="getreposts">
  ### getReposts
</div>

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

रीपोस्ट्स प्राप्त करें
उस id से निर्दिष्ट किसी विशेष पोस्ट को रीपोस्ट करने वाले पोस्ट्स की सूची प्राप्त करता है।

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

| नाम       | type                                                              | विवरण        |
| :-------- | :---------------------------------------------------------------- | :----------- |
| `id`      | `string`                                                          | एक पोस्ट ID। |
| `options` | `GetRepostsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:1271](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1271)

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

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

| Name       | type                |
| :--------- | :------------------ |
| `id`       | `string`            |
| `options?` | `GetRepostsOptions` |

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

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

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

[posts/client.ts:1284](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1284)

***

<div id="searchrecent">
  ### searchRecent
</div>

▸ **searchRecent**(`query`, `options`): `Promise`\<`Response`>

हाल की पोस्ट्स खोजें
खोज क्वेरी से मेल खाने वाली पिछले 7 दिनों की पोस्ट्स प्राप्त करता है।

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

| नाम       | type                                                                | विवरण                                                                                                                                        |
| :-------- | :------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                            | पोस्ट्स से मिलान करने के लिए एक query/rule/filter। अधिकतम query लंबाई जानने के लिए [https://t.co/rulelength](https://t.co/rulelength) देखें। |
| `options` | `SearchRecentOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:1559](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1559)

▸ **searchRecent**(`query`, `options?`): `Promise`\<[`Get2TweetsSearchRecentResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsSearchRecentResponse)>

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

| नाम        | type                  |
| :--------- | :-------------------- |
| `query`    | `string`              |
| `options?` | `SearchRecentOptions` |

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

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

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

[posts/client.ts:1572](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1572)

***

<div id="searchall">
  ### searchAll
</div>

▸ **searchAll**(`query`, `options`): `Promise`\<`Response`>

सभी पोस्ट्स खोजें
यह खोज क्वेरी से मेल खाने वाले पोस्ट्स को पूरे आर्काइव से प्राप्त करता है।

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

| नाम       | प्रकार                                                           | विवरण                                                                                                                                        |
| :-------- | :--------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                         | पोस्ट्स का मिलान करने के लिए एक query/rule/filter। अधिकतम query लंबाई जानने के लिए [https://t.co/rulelength](https://t.co/rulelength) देखें। |
| `options` | `SearchAllOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:1968](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1968)

▸ **searchAll**(`query`, `options?`): `Promise`\<[`Get2TweetsSearchAllResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsSearchAllResponse)>

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

| नाम        | type               |
| :--------- | :----------------- |
| `query`    | `string`           |
| `options?` | `SearchAllOptions` |

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

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

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

[posts/client.ts:1981](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L1981)

***

<div id="getbyids">
  ### getByIds
</div>

▸ **getByIds**(`ids`, `options`): `Promise`\<`Response`>

IDs के आधार पर पोस्ट्स प्राप्त करें
उनकी IDs के आधार पर कई पोस्ट्स का विवरण प्राप्त करता है।

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

| नाम       | प्रकार                                                          | विवरण                                                                           |
| :-------- | :-------------------------------------------------------------- | :------------------------------------------------------------------------------ |
| `ids`     | `any`\[]                                                        | पोस्ट ID की अल्पविराम से अलग की गई सूची। एक अनुरोध में अधिकतम 100 की अनुमति है। |
| `options` | `GetByIdsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                               |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:2365](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L2365)

▸ **getByIds**(`ids`, `options?`): `Promise`\<[`Get2TweetsResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsResponse)>

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

| नाम        | type              |
| :--------- | :---------------- |
| `ids`      | `any`\[]          |
| `options?` | `GetByIdsOptions` |

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

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

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

[posts/client.ts:2378](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L2378)

***

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

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

पोस्ट बनाएँ या संपादित करें
प्रमाणीकृत उपयोगकर्ता के लिए नई पोस्ट बनाता है, या `edit_options` दिए जाने पर मौजूदा पोस्ट को संपादित करता है।

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

| Name                         | Type                                                                                        | विवरण       |
| :--------------------------- | :------------------------------------------------------------------------------------------ | :---------- |
| `body`                       | [`TweetCreateRequest`](/hi/xdks/typescript/reference/interfaces/Schemas.TweetCreateRequest) | अनुरोध बॉडी |
| `options`                    | `Object`                                                                                    | -           |
| `options.requestOptions`     | `Object`                                                                                    | -           |
| `options.requestOptions.raw` | `true`                                                                                      | -           |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:2622](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L2622)

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

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

| नाम    | type                                                                                        |
| :----- | :------------------------------------------------------------------------------------------ |
| `body` | [`TweetCreateRequest`](/hi/xdks/typescript/reference/interfaces/Schemas.TweetCreateRequest) |

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

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

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

[posts/client.ts:2633](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L2633)

***

<div id="getquoted">
  ### getQuoted
</div>

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

उद्धृत पोस्ट्स प्राप्त करें
उस पोस्ट की ID के आधार पर उसे उद्धृत करने वाली पोस्ट्स की सूची प्राप्त करता है।

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

| नाम       | type                                                             | विवरण        |
| :-------- | :--------------------------------------------------------------- | :----------- |
| `id`      | `string`                                                         | एक पोस्ट id. |
| `options` | `GetQuotedOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:2718](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L2718)

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

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

| Name       | type               |
| :--------- | :----------------- |
| `id`       | `string`           |
| `options?` | `GetQuotedOptions` |

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

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

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

[posts/client.ts:2731](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L2731)

***

<div id="getcountsrecent">
  ### getCountsRecent
</div>

▸ **getCountsRecent**(`query`, `options`): `Promise`\<`Response`>

हाल की पोस्ट्स की संख्या प्राप्त करें
खोज क्वेरी से मेल खाने वाली पिछले 7 दिनों की पोस्ट्स की संख्या प्राप्त करता है।

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

| नाम       | प्रकार                                                                 | विवरण                                                                                                                                        |
| :-------- | :--------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                               | पोस्ट्स का मिलान करने के लिए एक query/rule/filter। अधिकतम query लंबाई जानने के लिए [https://t.co/rulelength](https://t.co/rulelength) देखें। |
| `options` | `GetCountsRecentOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:3025](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3025)

▸ **getCountsRecent**(`query`, `options?`): `Promise`\<[`Get2TweetsCountsRecentResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsCountsRecentResponse)>

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

| नाम        | type                     |
| :--------- | :----------------------- |
| `query`    | `string`                 |
| `options?` | `GetCountsRecentOptions` |

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

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

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

[posts/client.ts:3038](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3038)

***

<div id="hidereply">
  ### hideReply
</div>

▸ **hideReply**(`tweetId`, `options`): `Promise`\<`Response`>

जवाब छिपाएँ
प्रमाणीकृत उपयोगकर्ता के स्वामित्व वाली बातचीत में किसी जवाब को छिपाता है या उसका छिपाव हटाता है।

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

| नाम       | Type                                                             | विवरण                                                    |
| :-------- | :--------------------------------------------------------------- | :------------------------------------------------------- |
| `tweetId` | `string`                                                         | उस जवाब का id जिसे आप छिपाना या फिर से दिखाना चाहते हैं। |
| `options` | `HideReplyOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                        |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:3298](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3298)

▸ **hideReply**(`tweetId`, `options?`): `Promise`\<[`TweetHideResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.TweetHideResponse)>

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

| नाम        | type               |
| :--------- | :----------------- |
| `tweetId`  | `string`           |
| `options?` | `HideReplyOptions` |

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

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

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

[posts/client.ts:3311](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3311)

***

<div id="getinsightshistorical">
  ### getInsightsHistorical
</div>

▸ **getInsightsHistorical**(`tweetIds`, `endTime`, `startTime`, `granularity`, `requestedMetrics`, `options`): `Promise`\<`Response`>

ऐतिहासिक पोस्ट इनसाइट्स प्राप्त करें
निर्धारित समयावधि के भीतर निर्दिष्ट पोस्ट्स के लिए ऐतिहासिक एंगेजमेंट मेट्रिक्स प्राप्त करता है।

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

| नाम                | type                                                                         | विवरण                                                                     |
| :----------------- | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------ |
| `tweetIds`         | `any`\[]                                                                     | ऐतिहासिक मेट्रिक्स के लिए PostIds की सूची।                                |
| `endTime`          | `string`                                                                     | YYYY-MM-DDTHH:mm:ssZ. समय सीमा के अंत को दर्शाने वाला UTC टाइमस्टैम्प।    |
| `startTime`        | `string`                                                                     | YYYY-MM-DDTHH:mm:ssZ. समय सीमा की शुरुआत को दर्शाने वाला UTC टाइमस्टैम्प। |
| `granularity`      | `string`                                                                     | मेट्रिक्स रिस्पॉन्स की granularity।                                       |
| `requestedMetrics` | `any`\[]                                                                     | ऐतिहासिक अनुरोध के लिए मांगे गए मेट्रिक्स।                                |
| `options`          | `GetInsightsHistoricalOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                         |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:3435](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3435)

▸ **getInsightsHistorical**(`tweetIds`, `endTime`, `startTime`, `granularity`, `requestedMetrics`, `options?`): `Promise`\<[`Get2InsightsHistoricalResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2InsightsHistoricalResponse)>

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

| नाम                | प्रकार                         |
| :----------------- | :----------------------------- |
| `tweetIds`         | `any`\[]                       |
| `endTime`          | `string`                       |
| `startTime`        | `string`                       |
| `granularity`      | `string`                       |
| `requestedMetrics` | `any`\[]                       |
| `options?`         | `GetInsightsHistoricalOptions` |

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

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

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

[posts/client.ts:3464](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3464)

***

<div id="getcountsall">
  ### getCountsAll
</div>

▸ **getCountsAll**(`query`, `options`): `Promise`\<`Response`>

सभी पोस्ट्स की संख्या प्राप्त करें
पूर्ण आर्काइव से खोज क्वेरी से मेल खाने वाले पोस्ट्स की संख्या प्राप्त करता है।

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

| Name      | Type                                                                | विवरण                                                                                                                                        |
| :-------- | :------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                            | पोस्ट्स का मिलान करने के लिए एक query/rule/filter। अधिकतम query लंबाई जानने के लिए [https://t.co/rulelength](https://t.co/rulelength) देखें। |
| `options` | `GetCountsAllOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:3679](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3679)

▸ **getCountsAll**(`query`, `options?`): `Promise`\<[`Get2TweetsCountsAllResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsCountsAllResponse)>

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

| नाम        | type                  |
| :--------- | :-------------------- |
| `query`    | `string`              |
| `options?` | `GetCountsAllOptions` |

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

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

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

[posts/client.ts:3692](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3692)

***

<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`>

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

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

[posts/client.ts:3952](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3952)

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

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

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

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

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

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

[posts/client.ts:3965](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L3965)

***

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

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

पोस्ट हटाएँ
यदि प्रमाणित उपयोगकर्ता उसका स्वामी है, तो उसकी ID के आधार पर किसी विशिष्ट पोस्ट को हटाता है।

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

| नाम                          | प्रकार   | विवरण                       |
| :--------------------------- | :------- | :-------------------------- |
| `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 पर

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

[posts/client.ts:4202](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L4202)

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

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

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

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

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

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

[posts/client.ts:4215](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L4215)

***

<div id="getlikingusers">
  ### getLikingUsers
</div>

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

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

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

| नाम       | प्रकार                                                                | विवरण        |
| :-------- | :-------------------------------------------------------------------- | :----------- |
| `id`      | `string`                                                              | एक पोस्ट ID। |
| `options` | `GetLikingUsersOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -            |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:4306](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L4306)

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

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

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

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

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

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

[posts/client.ts:4319](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L4319)

***

<div id="getrepostedby">
  ### getRepostedBy
</div>

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

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

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

| नाम       | type                                                                 | विवरण         |
| :-------- | :------------------------------------------------------------------- | :------------ |
| `id`      | `string`                                                             | एकल पोस्ट ID. |
| `options` | `GetRepostedByOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -             |

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

`Promise`\<`Response`>

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

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

[posts/client.ts:4525](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L4525)

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

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

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

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

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

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

[posts/client.ts:4538](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/posts/client.ts#L4538)
