| 1 | package Telegram::Bot::Object::Video; | ||
| 2 | 5 | $Telegram::Bot::Object::Video::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for Telegram 'Video' object. | ||
| 4 | |||
| 5 | |||
| 6 | 5 | ▶ | use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use Telegram::Bot::Object::PhotoSize; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 5 | has 'file_id'; | |
| 10 | 5 | has 'width'; | |
| 11 | 5 | has 'height'; | |
| 12 | 5 | has 'duration'; | |
| 13 | 5 | has 'thumb'; #PhotoSize | |
| 14 | 5 | has 'mime_type'; | |
| 15 | 5 | has 'file_size'; | |
| 16 | |||
| 17 | 0 | ▶ | sub fields { |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | return { scalar => [qw/file_id width height duration | |
| 19 | mime_type file_size /], | ||
| 20 | 'Telegram::Bot::Object::PhotoSize' => [qw/thumb/] | ||
| 21 | }; | ||
| 22 | } | ||
| 23 | |||
| 24 | 5 | 1; | |
| 25 | |||
| 26 | __END__ | ||