Skip to content

Commit

Permalink
Add since_id field to ChatsRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Neur0toxine authored Jul 16, 2024
2 parents 26aa42c + 370fd04 commit 6e4dd6a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/Bot/Model/Request/ChatsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ class ChatsRequest implements ModelInterface
*/
private $customerId;

/**
* @var int $sinceId
*
* @Type("int")
* @Accessor(getter="getSinceId",setter="setSinceId")
* @SkipWhenEmpty()
*/
private $sinceId;

/**
* @return int
*/
Expand Down Expand Up @@ -96,4 +105,21 @@ public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}

/**
* @return int|null
*/
public function getSinceId()
{
return $this->sinceId;
}

/**
* @param int $sinceId
* @return void
*/
public function setSinceId($sinceId)
{
$this->sinceId = $sinceId;
}
}

0 comments on commit 6e4dd6a

Please sign in to comment.