| 1 | <?php |
||
| 16 | class Animation extends TelegramTypes |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Unique file identifier |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $file_id = ''; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used |
||
| 26 | * to download or reuse the file. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $file_unique_id = ''; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Video width as defined by sender |
||
| 34 | * @var int |
||
| 35 | */ |
||
| 36 | public $width = 0; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Video height as defined by sender |
||
| 40 | * @var int |
||
| 41 | */ |
||
| 42 | public $height = 0; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Duration of the video in seconds as defined by sender |
||
| 46 | * @var int |
||
| 47 | */ |
||
| 48 | public $duration = 0; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Optional. Animation thumbnail as defined by sender |
||
| 52 | * @var PhotoSize |
||
| 53 | */ |
||
| 54 | public $thumb; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Optional. Original animation filename as defined by sender |
||
| 58 | * @var int |
||
| 59 | */ |
||
| 60 | public $file_name = ''; |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Optional. MIME type of the file as defined by sender |
||
| 64 | * @var string |
||
| 65 | */ |
||
| 66 | public $mime_type = ''; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * Optional. File size |
||
| 70 | * @var int |
||
| 71 | */ |
||
| 72 | public $file_size = 0; |
||
| 73 | |||
| 74 | protected function mapSubObjects(string $key, array $data): TelegramTypes |
||
| 83 | } |
||
| 84 |