1 | <?php |
||
24 | class PassportData extends Entity |
||
25 | { |
||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | protected function subEntities() |
||
36 | |||
37 | /** |
||
38 | * Array with information about documents and other Telegram Passport elements that was shared with the bot |
||
39 | * |
||
40 | * This method overrides the default getData method |
||
41 | * and returns a nice array of EncryptedPassportElement objects. |
||
42 | * |
||
43 | * @return null|EncryptedPassportElement[] |
||
44 | */ |
||
45 | public function getData() |
||
51 | } |
||
52 |