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

# PostsClient

> X API TypeScript SDK의 PostsClient 클래스에 대한 참조입니다. X API v2의 posts 엔드포인트를 위한 메서드, 매개변수 및 반환 타입입니다.

게시물 작업을 위한 클라이언트

이 클라이언트는 X API의 posts 엔드포인트와 상호작용하기 위한 메서드를 제공합니다.
이 클라이언트는 인증, 요청 형식 지정, 그리고
모든 posts 관련 작업에 대한 응답 파싱을 처리합니다.

## 생성자

### constructor

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

새로운 posts 클라이언트 인스턴스를 생성합니다.

#### 매개변수

| 이름       | 타입                                                    | 설명                      |
| :------- | :---------------------------------------------------- | :---------------------- |
| `client` | [`Client`](/xdks/typescript/reference/classes/Client) | 메인 X API 클라이언트 인스턴스입니다. |

#### 반환값

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

#### 정의 위치

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

## 메서드

### getInsights28hr

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

28시간 Post 인사이트 조회
Retrieves engagement metrics for specified Posts over the last 28 hours.

#### 매개변수

| 이름                 | 타입                                                                     | 설명                                      |
| :----------------- | :--------------------------------------------------------------------- | :-------------------------------------- |
| `tweetIds`         | `any`\[]                                                               | 28시간 지표를 위한 PostId 목록입니다.               |
| `granularity`      | `string`                                                               | granularity of metrics response.        |
| `requestedMetrics` | `any`\[]                                                               | request metrics for historical request. |
| `options`          | `GetInsights28hrOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                       |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름                 | 타입                       |
| :----------------- | :----------------------- |
| `tweetIds`         | `any`\[]                 |
| `granularity`      | `string`                 |
| `requestedMetrics` | `any`\[]                 |
| `options?`         | `GetInsights28hrOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getAnalytics

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

Post 분석 조회
지정된 시간 범위 내에서 특정 Posts의 분석 데이터를 가져옵니다.

#### 매개변수

| 이름            | 타입                                                                  | 설명                                                                                |
| :------------ | :------------------------------------------------------------------ | :-------------------------------------------------------------------------------- |
| `ids`         | `any`\[]                                                            | 쉼표로 구분된 Post ID 목록입니다. 단일 요청에서 최대 100개까지 허용됩니다.                                   |
| `endTime`     | `string`                                                            | YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.   |
| `startTime`   | `string`                                                            | YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range. |
| `granularity` | `string`                                                            | The granularity for the search counts results.                                    |
| `options`     | `GetAnalyticsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                 |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

[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`](/xdks/typescript/reference/interfaces/Schemas.Analytics)>

#### 매개변수

| 이름            | 타입                    |
| :------------ | :-------------------- |
| `ids`         | `any`\[]              |
| `endTime`     | `string`              |
| `startTime`   | `string`              |
| `granularity` | `string`              |
| `options?`    | `GetAnalyticsOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getReposts

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

리포스트 조회
Retrieves a list of Posts that repost a specific Post by its ID.

#### 매개변수

| 이름        | 타입                                                                | 설명             |
| :-------- | :---------------------------------------------------------------- | :------------- |
| `id`      | `string`                                                          | 단일 Post ID입니다. |
| `options` | `GetRepostsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -              |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                  |
| :--------- | :------------------ |
| `id`       | `string`            |
| `options?` | `GetRepostsOptions` |

#### 반환값

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

#### 정의 위치

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

***

### searchRecent

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

Search recent Posts
Retrieves Posts from the last 7 days matching a search query.

#### 매개변수

| 이름        | 타입                                                                  | 설명                                                                                                                                      |
| :-------- | :------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                            | One query/rule/filter for matching Posts. Refer to [https://t.co/rulelength](https://t.co/rulelength) to identify the max query length. |
| `options` | `SearchRecentOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                       |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                    |
| :--------- | :-------------------- |
| `query`    | `string`              |
| `options?` | `SearchRecentOptions` |

#### 반환값

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

#### 정의 위치

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

***

### searchAll

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

Search all Posts
Retrieves Posts from the full archive matching a search query.

#### 매개변수

| 이름        | 타입                                                               | 설명                                                                                                                                      |
| :-------- | :--------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                         | One query/rule/filter for matching Posts. Refer to [https://t.co/rulelength](https://t.co/rulelength) to identify the max query length. |
| `options` | `SearchAllOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                       |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                 |
| :--------- | :----------------- |
| `query`    | `string`           |
| `options?` | `SearchAllOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getByIds

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

ID로 Post 목록 조회
Retrieves details of multiple Posts by their IDs.

#### 매개변수

| 이름        | 타입                                                              | 설명                                              |
| :-------- | :-------------------------------------------------------------- | :---------------------------------------------- |
| `ids`     | `any`\[]                                                        | 쉼표로 구분된 Post ID 목록입니다. 단일 요청에서 최대 100개까지 허용됩니다. |
| `options` | `GetByIdsOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                               |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                |
| :--------- | :---------------- |
| `ids`      | `any`\[]          |
| `options?` | `GetByIdsOptions` |

#### 반환값

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

#### 정의 위치

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

***

### create

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

Post 생성 또는 편집
인증된 사용자를 위해 새로운 Post를 생성하거나, edit\_options가 제공된 경우 기존 Post를 편집합니다.

#### 매개변수

| 이름                           | 타입                                                                                       | 설명    |
| :--------------------------- | :--------------------------------------------------------------------------------------- | :---- |
| `body`                       | [`TweetCreateRequest`](/xdks/typescript/reference/interfaces/Schemas.TweetCreateRequest) | 요청 본문 |
| `options`                    | `Object`                                                                                 | -     |
| `options.requestOptions`     | `Object`                                                                                 | -     |
| `options.requestOptions.raw` | `true`                                                                                   | -     |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름     | 타입                                                                                       |
| :----- | :--------------------------------------------------------------------------------------- |
| `body` | [`TweetCreateRequest`](/xdks/typescript/reference/interfaces/Schemas.TweetCreateRequest) |

#### 반환값

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

#### 정의 위치

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

***

### getQuoted

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

인용된 Post 조회
Retrieves a list of Posts that quote a specific Post by its ID.

#### 매개변수

| 이름        | 타입                                                               | 설명             |
| :-------- | :--------------------------------------------------------------- | :------------- |
| `id`      | `string`                                                         | 단일 Post ID입니다. |
| `options` | `GetQuotedOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -              |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                 |
| :--------- | :----------------- |
| `id`       | `string`           |
| `options?` | `GetQuotedOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getCountsRecent

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

최근 Post 수 조회
Retrieves the count of Posts from the last 7 days matching a search query.

#### 매개변수

| 이름        | 타입                                                                     | 설명                                                                                                                                      |
| :-------- | :--------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                               | One query/rule/filter for matching Posts. Refer to [https://t.co/rulelength](https://t.co/rulelength) to identify the max query length. |
| `options` | `GetCountsRecentOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                       |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                       |
| :--------- | :----------------------- |
| `query`    | `string`                 |
| `options?` | `GetCountsRecentOptions` |

#### 반환값

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

#### 정의 위치

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

***

### hideReply

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

Hide reply
Hides or unhides a reply to a conversation owned by the authenticated user.

#### 매개변수

| 이름        | 타입                                                               | 설명                       |
| :-------- | :--------------------------------------------------------------- | :----------------------- |
| `tweetId` | `string`                                                         | 숨기거나 다시 표시하려는 답글의 ID입니다. |
| `options` | `HideReplyOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                        |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                 |
| :--------- | :----------------- |
| `tweetId`  | `string`           |
| `options?` | `HideReplyOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getInsightsHistorical

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

과거 Post 인사이트 조회
Retrieves historical engagement metrics for specified Posts within a defined time range.

#### 매개변수

| 이름                 | 타입                                                                           | 설명                                                                                |
| :----------------- | :--------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |
| `tweetIds`         | `any`\[]                                                                     | 과거 지표를 위한 PostId 목록입니다.                                                           |
| `endTime`          | `string`                                                                     | YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.   |
| `startTime`        | `string`                                                                     | YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range. |
| `granularity`      | `string`                                                                     | granularity of metrics response.                                                  |
| `requestedMetrics` | `any`\[]                                                                     | request metrics for historical request.                                           |
| `options`          | `GetInsightsHistoricalOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                 |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

[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`](/xdks/typescript/reference/interfaces/Schemas.Get2InsightsHistoricalResponse)>

#### 매개변수

| 이름                 | 타입                             |
| :----------------- | :----------------------------- |
| `tweetIds`         | `any`\[]                       |
| `endTime`          | `string`                       |
| `startTime`        | `string`                       |
| `granularity`      | `string`                       |
| `requestedMetrics` | `any`\[]                       |
| `options?`         | `GetInsightsHistoricalOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getCountsAll

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

모든 Post 수 조회
Retrieves the count of Posts matching a search query from the full archive.

#### 매개변수

| 이름        | 타입                                                                  | 설명                                                                                                                                      |
| :-------- | :------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------- |
| `query`   | `string`                                                            | One query/rule/filter for matching Posts. Refer to [https://t.co/rulelength](https://t.co/rulelength) to identify the max query length. |
| `options` | `GetCountsAllOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                                                                                                       |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                    |
| :--------- | :-------------------- |
| `query`    | `string`              |
| `options?` | `GetCountsAllOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getById

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

ID로 Post 조회
특정 Post의 세부 정보를 해당 ID로 가져옵니다.

#### 매개변수

| 이름        | 타입                                                             | 설명             |
| :-------- | :------------------------------------------------------------- | :------------- |
| `id`      | `string`                                                       | 단일 Post ID입니다. |
| `options` | `GetByIdOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -              |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입               |
| :--------- | :--------------- |
| `id`       | `string`         |
| `options?` | `GetByIdOptions` |

#### 반환값

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

#### 정의 위치

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

***

### delete

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

Post 삭제
인증된 사용자가 소유한 경우, 특정 Post를 해당 ID로 삭제합니다.

#### 매개변수

| 이름                           | 타입       | 설명               |
| :--------------------------- | :------- | :--------------- |
| `id`                         | `string` | 삭제할 Post의 ID입니다. |
| `options`                    | `Object` | -                |
| `options.requestOptions`     | `Object` | -                |
| `options.requestOptions.raw` | `true`   | -                |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름   | 타입       |
| :--- | :------- |
| `id` | `string` |

#### 반환값

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

#### 정의 위치

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

***

### getLikingUsers

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

좋아요를 누른 사용자 조회
Retrieves a list of Users who liked a specific Post by its ID.

#### 매개변수

| 이름        | 타입                                                                    | 설명             |
| :-------- | :-------------------------------------------------------------------- | :------------- |
| `id`      | `string`                                                              | 단일 Post ID입니다. |
| `options` | `GetLikingUsersOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -              |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                      |
| :--------- | :---------------------- |
| `id`       | `string`                |
| `options?` | `GetLikingUsersOptions` |

#### 반환값

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

#### 정의 위치

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

***

### getRepostedBy

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

리포스트한 사용자 조회
Retrieves a list of Users who reposted a specific Post by its ID.

#### 매개변수

| 이름        | 타입                                                                   | 설명             |
| :-------- | :------------------------------------------------------------------- | :------------- |
| `id`      | `string`                                                             | 단일 Post ID입니다. |
| `options` | `GetRepostedByOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -              |

#### 반환값

`Promise`\<`Response`>

Promise resolving to the API response, or raw Response if requestOptions.raw is true

#### 정의 위치

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

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

#### 매개변수

| 이름         | 타입                     |
| :--------- | :--------------------- |
| `id`       | `string`               |
| `options?` | `GetRepostedByOptions` |

#### 반환값

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

#### 정의 위치

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