mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-21 00:32:54 +00:00
25 lines
573 B
PHP
25 lines
573 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Attributes\ArrayOf;
|
|
|
|
/**
|
|
* Represents a paginated list of chat members.
|
|
*/
|
|
final readonly class ChatMembersList extends AbstractModel
|
|
{
|
|
/**
|
|
* @param ChatMember[] $members A list of chat members.
|
|
* @param int|null $marker A pointer to the next page of data. Null if this is the last page.
|
|
*/
|
|
public function __construct(
|
|
#[ArrayOf(ChatMember::class)]
|
|
public array $members,
|
|
public ?int $marker,
|
|
) {
|
|
}
|
|
}
|