1 | <?php |
||
24 | class GetFile extends TelegramMethods |
||
25 | { |
||
26 | /** |
||
27 | * File identifier to get info about |
||
28 | * @var string |
||
29 | */ |
||
30 | public $file_id = ''; |
||
31 | |||
32 | /** |
||
33 | * This call will return an array with updates, so call up a custom type to do this |
||
34 | * |
||
35 | * @param TelegramResponse $data |
||
36 | * @param LoggerInterface $logger |
||
37 | * @return TelegramTypes |
||
38 | */ |
||
39 | 1 | public static function bindToObject(TelegramResponse $data, LoggerInterface $logger): TelegramTypes |
|
43 | |||
44 | 2 | public function getMandatoryFields(): array |
|
50 | } |
||
51 |