diff --git a/src/Bot/Model/Request/ChatsRequest.php b/src/Bot/Model/Request/ChatsRequest.php index 61c5f65..a6a5f1b 100644 --- a/src/Bot/Model/Request/ChatsRequest.php +++ b/src/Bot/Model/Request/ChatsRequest.php @@ -24,6 +24,7 @@ class ChatsRequest implements ModelInterface { use CommonFields; use PageLimit; + use IncludeMassCommunication; /** * @Type("int") diff --git a/src/Bot/Model/Request/DialogsRequest.php b/src/Bot/Model/Request/DialogsRequest.php index dce064b..771f809 100644 --- a/src/Bot/Model/Request/DialogsRequest.php +++ b/src/Bot/Model/Request/DialogsRequest.php @@ -24,6 +24,7 @@ class DialogsRequest implements ModelInterface { use CommonFields; use PageLimit; + use IncludeMassCommunication; /** * @var int $sinceId diff --git a/src/Bot/Model/Request/IncludeMassCommunication.php b/src/Bot/Model/Request/IncludeMassCommunication.php new file mode 100644 index 0000000..ec4e7fd --- /dev/null +++ b/src/Bot/Model/Request/IncludeMassCommunication.php @@ -0,0 +1,48 @@ +includeMassCommunication; + } + + /** + * @param int $includeMassCommunication + */ + public function setIncludeMassCommunication(?int $includeMassCommunication): void + { + $this->includeMassCommunication = $includeMassCommunication; + } +} diff --git a/src/Bot/Model/Request/MessagesRequest.php b/src/Bot/Model/Request/MessagesRequest.php index e691b8d..5679104 100644 --- a/src/Bot/Model/Request/MessagesRequest.php +++ b/src/Bot/Model/Request/MessagesRequest.php @@ -23,6 +23,7 @@ use RetailCrm\Mg\Bot\Model\ModelInterface; class MessagesRequest implements ModelInterface { use CommonFields; + use IncludeMassCommunication; /** * @var int $chatId