[chatgpt](../readme.md) / [Exports](../modules.md) / [openai](../modules/openai.md) / ChatCompletionRequestMessage # Interface: ChatCompletionRequestMessage [openai](../modules/openai.md).ChatCompletionRequestMessage **`Export`** **`Interface`** ChatCompletionRequestMessage ## Table of contents ### Properties - [content](openai.ChatCompletionRequestMessage.md#content) - [name](openai.ChatCompletionRequestMessage.md#name) - [role](openai.ChatCompletionRequestMessage.md#role) ## Properties ### content • **content**: `string` The contents of the message **`Memberof`** ChatCompletionRequestMessage #### Defined in [src/types.ts:208](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L208) ___ ### name • `Optional` **name**: `string` The name of the user in a multi-user chat **`Memberof`** ChatCompletionRequestMessage #### Defined in [src/types.ts:214](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L214) ___ ### role • **role**: [`ChatCompletionRequestMessageRoleEnum`](../modules/openai.md#chatcompletionrequestmessageroleenum-1) The role of the author of this message. **`Memberof`** ChatCompletionRequestMessage #### Defined in [src/types.ts:202](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L202)