---
title: "MessageSendPayload"
description: "Return type for messageSend mutation."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/message/objects/message-send-payload'
  md: 'https://developer.shopline.com/docs/storefront-api/message/objects/message-send-payload.md'
---
# MessageSendPayload

Return type for messageSend mutation.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`MessageSendPayload`

## Fields

* `message`

  [Message](https://developer.shopline.com/docs/storefront-api/message/objects/message.md)

  Details of the message.

* `userErrors`

  [[MessageUserError!]!](https://developer.shopline.com/docs/storefront-api/message/objects/message-user-error.md)

  Errors related to the user information.

## Schema Definition

```graphql
type MessageSendPayload { 
	message: Message
	userErrors: [MessageUserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/storefront-api/message/mutations/message-send.md).messageSend

  messageSend 是一个 GraphQL 变更(Mutation),用于在聊天应用程序或消息系统中发送新消息.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

