[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:211](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L211) ___ ### name • `Optional` **name**: `string` The name of the user in a multi-user chat **`Memberof`** ChatCompletionRequestMessage #### Defined in [src/types.ts:217](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L217) ___ ### role • **role**: [`ChatCompletionRequestMessageRoleEnum`](../modules/openai.md#chatcompletionrequestmessageroleenum-1) The role of the author of this message. **`Memberof`** ChatCompletionRequestMessage #### Defined in [src/types.ts:205](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L205)