1
0
mirror of synced 2024-11-22 03:46:02 +03:00

Filter sinceId in dialog list method

This commit is contained in:
Ilyas Salikhov 2023-08-10 18:57:40 +03:00
parent d9192f963c
commit 8b9afc52af
2 changed files with 30 additions and 0 deletions

View File

@ -1285,6 +1285,11 @@ parameters:
count: 1
path: src/Bot/Model/Request/DialogsRequest.php
-
message: "#^Method RetailCrm\\\\Mg\\\\Bot\\\\Model\\\\Request\\\\DialogsRequest\\:\\:setSinceId\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Bot/Model/Request/DialogsRequest.php
-
message: "#^Method RetailCrm\\\\Mg\\\\Bot\\\\Model\\\\Request\\\\DialogsRequest\\:\\:setBotId\\(\\) has no return typehint specified\\.$#"
count: 1

View File

@ -25,6 +25,15 @@ class DialogsRequest implements ModelInterface
use CommonFields;
use PageLimit;
/**
* @var int $sinceId
*
* @Type("int")
* @Accessor(getter="getSinceId",setter="setSinceId")
* @SkipWhenEmpty
*/
private $sinceId;
/**
* @var int $chatId
*
@ -70,6 +79,22 @@ class DialogsRequest implements ModelInterface
*/
private $assign;
/**
* @return int
*/
public function getSinceId()
{
return $this->sinceId;
}
/**
* @param int $sinceId
*/
public function setSinceId(int $sinceId)
{
$this->sinceId = $sinceId;
}
/**
* @return int
*/