1 | <?php |
||
7 | class RequestThreadControl |
||
8 | { |
||
9 | /** |
||
10 | * @var int |
||
11 | */ |
||
12 | protected $requestedOwnerAppId; |
||
13 | |||
14 | /** |
||
15 | * @var string|null |
||
16 | */ |
||
17 | protected $metadata; |
||
18 | |||
19 | /** |
||
20 | * TakeThreadControl constructor. |
||
21 | */ |
||
22 | 1 | public function __construct(int $requestedOwnerAppId, ?string $metadata) |
|
27 | |||
28 | 1 | public function getRequestedOwnerAppId(): int |
|
32 | |||
33 | 1 | public function getMetadata(): ?string |
|
37 | |||
38 | /** |
||
39 | * @return \Kerox\Messenger\Model\Callback\RequestThreadControl |
||
40 | */ |
||
41 | 1 | public static function create(array $callbackData): self |
|
45 | } |
||
46 |