1 | <?php |
||
21 | class SetChatAdministratorCustomTitle extends TelegramMethods |
||
22 | { |
||
23 | /** |
||
24 | * Unique identifier for the target chat or username of the target supergroup or channel (in the format |
||
25 | * @var string |
||
26 | */ |
||
27 | public $chat_id = ''; |
||
28 | |||
29 | /** |
||
30 | * Unique identifier of the target user |
||
31 | * @var int |
||
32 | */ |
||
33 | public $user_id = 0; |
||
34 | |||
35 | /** |
||
36 | * New custom title for the administrator; 0-16 characters, emoji are not allowed |
||
37 | * @var string |
||
38 | */ |
||
39 | public $custom_title; |
||
40 | |||
41 | public static function bindToObject(TelegramResponse $data, LoggerInterface $logger): TelegramTypes |
||
45 | |||
46 | public function getMandatoryFields(): array |
||
54 | } |
||
55 |