> For the complete documentation index, see [llms.txt](https://docs.salework.net/salework-tai-lieu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.salework.net/salework-tai-lieu/salework-zalo-open-api/message/chuyen-tiep-tin-nhan-1.md).

# Chuyển tiếp tin nhắn

1. Body

<table><thead><tr><th width="135">Name</th><th width="389">Type</th><th>Description</th></tr></thead><tbody><tr><td>service</td><td>message</td><td></td></tr><tr><td>method</td><td>sendMsgPhoto</td><td></td></tr><tr><td>data</td><td><pre class="language-json"><code class="lang-json">{
    "method": "pollDetail",
    "service": "message",
    "data": {
        "accountId": "39456257143545255",
        "toId": "7070722571989963531",
        "group": true,
        "file": byte[],
        "fileName": "image1.jpg",
        "groupMsgId": 1726818519109,
        "totalItems": 2,
        "idInGroup": 1,
    }
}
</code></pre></td><td><ul><li>groupMsgId: timestamp of list message send, default = 0 (when send 1 photo)</li><li>totalItems: default 0  (when send 1 photo)</li><li>idInGroup: default 0  (when send 1 photo)</li></ul></td></tr></tbody></table>

2. Response

{% tabs %}
{% tab title="200" %}

```json
{
    "data": {
        "error_message": "Successful.",
        "data": {
            "msgId": "5849764944717"
        },
        "error_code": 0
    },
    "status": "success"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
    "status": "error",
    "error": {
        "message": "Something wrong was happened.",
        "code": null,
        "prms": null
    }
}
```

{% endtab %}
{% endtabs %}
