# Message

URL: https://chugunov.pro/api-bitrix/messageservice/message/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс `\Bitrix\MessageService\Message`
Модуль: MessageService.

Исходный файл: `source/messageservice/lib/message.php:17`

## Константы (1)

- `EVENT_MESSAGE_UPDATED`

## Методы (30)

- [`__construct()`](https://chugunov.pro/api-bitrix/messageservice/message/__construct/) — Конструктор Message.
- [`checkFields()`](https://chugunov.pro/api-bitrix/messageservice/message/checkfields/)
- [`static createFromFields()`](https://chugunov.pro/api-bitrix/messageservice/message/createfromfields/)
- [`getAuthorId()`](https://chugunov.pro/api-bitrix/messageservice/message/getauthorid/)
- [`getBody()`](https://chugunov.pro/api-bitrix/messageservice/message/getbody/)
- [`getError()`](https://chugunov.pro/api-bitrix/messageservice/message/geterror/)
- [`static getFieldsById()`](https://chugunov.pro/api-bitrix/messageservice/message/getfieldsbyid/)
- [`getFrom()`](https://chugunov.pro/api-bitrix/messageservice/message/getfrom/)
- [`getHeaders()`](https://chugunov.pro/api-bitrix/messageservice/message/getheaders/)
- [`getSender()`](https://chugunov.pro/api-bitrix/messageservice/message/getsender/)
- [`getStatusId()`](https://chugunov.pro/api-bitrix/messageservice/message/getstatusid/)
- [`getTo()`](https://chugunov.pro/api-bitrix/messageservice/message/getto/)
- [`getType()`](https://chugunov.pro/api-bitrix/messageservice/message/gettype/)
- [`static loadByExternalId()`](https://chugunov.pro/api-bitrix/messageservice/message/loadbyexternalid/)
- [`static loadById()`](https://chugunov.pro/api-bitrix/messageservice/message/loadbyid/)
- [`send()`](https://chugunov.pro/api-bitrix/messageservice/message/send/)
- [`sendDirectly()`](https://chugunov.pro/api-bitrix/messageservice/message/senddirectly/)
- [`setAuthorId()`](https://chugunov.pro/api-bitrix/messageservice/message/setauthorid/)
- [`setBody()`](https://chugunov.pro/api-bitrix/messageservice/message/setbody/)
- [`setCheckRestrictions()`](https://chugunov.pro/api-bitrix/messageservice/message/setcheckrestrictions/)
- [`setError()`](https://chugunov.pro/api-bitrix/messageservice/message/seterror/)
- [`setFrom()`](https://chugunov.pro/api-bitrix/messageservice/message/setfrom/)
- [`setHeaders()`](https://chugunov.pro/api-bitrix/messageservice/message/setheaders/)
- [`setSender()`](https://chugunov.pro/api-bitrix/messageservice/message/setsender/)
- [`setTo()`](https://chugunov.pro/api-bitrix/messageservice/message/setto/)
- [`setType()`](https://chugunov.pro/api-bitrix/messageservice/message/settype/)
- [`update()`](https://chugunov.pro/api-bitrix/messageservice/message/update/)
- [`updateStatus()`](https://chugunov.pro/api-bitrix/messageservice/message/updatestatus/)
- [`updateStatusByExternalStatus()`](https://chugunov.pro/api-bitrix/messageservice/message/updatestatusbyexternalstatus/)
- [`updateWithSendResult()`](https://chugunov.pro/api-bitrix/messageservice/message/updatewithsendresult/)

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-MessageService-Message.html
