---
title: "MessageSendPayload"
description: "messageSend 变更的返回类型"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/message/objects/message-send-payload'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/message/objects/message-send-payload.md'
---
# MessageSendPayload

messageSend 变更的返回类型

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

## Type Signature

`MessageSendPayload`

## Fields

* `message`

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

  消息详情

* `userErrors`

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

  与用户信息相关的错误。

## Schema Definition

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

## Field from

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

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

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

