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

# 名前空間: DirectMessages

> X API TypeScript SDK の DirectMessages モジュールのリファレンス。 X API v2 向けにこの SDK モジュールが再エクスポートするクライアント、型、ユーティリティ。

## 型エイリアス

### CreateByConversationIdRequest

Ƭ **CreateByConversationIdRequest**: [`CreateMessageRequest`](/xdks/typescript/reference/modules/Schemas#createmessagerequest)

Request for createByConversationId

#### 定義場所

[direct\_messages/models.ts:18](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L18)

***

### CreateByConversationIdResponse

Ƭ **CreateByConversationIdResponse**: [`CreateDmEventResponse`](/xdks/typescript/reference/interfaces/Schemas.CreateDmEventResponse)

レスポンス: createByConversationId

#### 定義場所

[direct\_messages/models.ts:24](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L24)

***

### GetEventsByConversationIdResponse

Ƭ **GetEventsByConversationIdResponse**: [`Get2DmConversationsIdDmEventsResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2DmConversationsIdDmEventsResponse)

レスポンス: getEventsByConversationId

#### 定義場所

[direct\_messages/models.ts:30](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L30)

***

### CreateConversationRequest

Ƭ **CreateConversationRequest**: [`CreateDmConversationRequest`](/xdks/typescript/reference/interfaces/Schemas.CreateDmConversationRequest)

Request for createConversation

#### 定義場所

[direct\_messages/models.ts:36](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L36)

***

### CreateConversationResponse

Ƭ **CreateConversationResponse**: [`CreateDmEventResponse`](/xdks/typescript/reference/interfaces/Schemas.CreateDmEventResponse)

レスポンス: createConversation

#### 定義場所

[direct\_messages/models.ts:42](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L42)

***

### GetEventsByParticipantIdResponse

Ƭ **GetEventsByParticipantIdResponse**: [`Get2DmConversationsWithParticipantIdDmEventsResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2DmConversationsWithParticipantIdDmEventsResponse)

レスポンス: getEventsByParticipantId

#### 定義場所

[direct\_messages/models.ts:48](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L48)

***

### GetEventsResponse

Ƭ **GetEventsResponse**: [`Get2DmEventsResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2DmEventsResponse)

レスポンス: getEvents

#### 定義場所

[direct\_messages/models.ts:54](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L54)

***

### GetEventsByIdResponse

Ƭ **GetEventsByIdResponse**: [`Get2DmEventsEventIdResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2DmEventsEventIdResponse)

レスポンス: getEventsById

#### 定義場所

[direct\_messages/models.ts:60](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L60)

***

### DeleteEventsResponse

Ƭ **DeleteEventsResponse**: [`DeleteDmResponse`](/xdks/typescript/reference/interfaces/Schemas.DeleteDmResponse)

レスポンス: deleteEvents

#### 定義場所

[direct\_messages/models.ts:66](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L66)

***

### CreateByParticipantIdRequest

Ƭ **CreateByParticipantIdRequest**: [`CreateMessageRequest`](/xdks/typescript/reference/modules/Schemas#createmessagerequest)

Request for createByParticipantId

#### 定義場所

[direct\_messages/models.ts:72](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L72)

***

### CreateByParticipantIdResponse

Ƭ **CreateByParticipantIdResponse**: [`CreateDmEventResponse`](/xdks/typescript/reference/interfaces/Schemas.CreateDmEventResponse)

レスポンス: createByParticipantId

#### 定義場所

[direct\_messages/models.ts:78](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/direct_messages/models.ts#L78)
