| 1 | package Telegram::Bot::Object::Animation; | ||
| 2 | 5 | $Telegram::Bot::Object::Animation::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for Telegram message 'Animation' type. | ||
| 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 | 5 | ▶ | use Carp qw/croak/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 5 | has 'file_id'; | |
| 11 | 5 | has 'width'; | |
| 12 | 5 | has 'height'; | |
| 13 | 5 | has 'duration'; | |
| 14 | 5 | has 'thumb'; #PhotoSize | |
| 15 | 5 | has 'file_name'; | |
| 16 | 5 | has 'mime_type'; | |
| 17 | 5 | has 'file_size'; | |
| 18 | |||
| 19 | 0 | ▶ | sub fields { |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 20 | 0 | return { scalar => [qw/file_id width height duration file_name mime_type file_size/], | |
| 21 | 'Telegram::Bot::Object::PhotoSize' => [qw/thumb/], | ||
| 22 | }; | ||
| 23 | } | ||
| 24 | |||
| 25 | |||
| 26 | 5 | 1; | |
| 27 | |||
| 28 | __END__ | ||