| 1 | package Telegram::Bot::Object::Game; | ||
| 2 | 5 | $Telegram::Bot::Object::Game::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for Telegram message 'Game' 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 Telegram::Bot::Object::Animation; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | ▶ | use Telegram::Bot::Object::MessageEntity; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 5 | has 'title'; | |
| 12 | 5 | has 'description'; | |
| 13 | 5 | has 'photo'; # Array of PhotoSize | |
| 14 | 5 | has 'text'; | |
| 15 | 5 | has 'text_entities'; #Array of MessageEntity | |
| 16 | 5 | has 'animation'; #Animation | |
| 17 | |||
| 18 | 0 | ▶ | sub fields { |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 19 | 0 | return { scalar => [qw/title description text/], | |
| 20 | 'Telegram::Bot::Object::PhotoSize' => [qw/photo/], | ||
| 21 | 'Telegram::Bot::Object::MessageEntity' => [qw/text_entities/], | ||
| 22 | 'Telegram::Bot::Object::Animation' => [qw/animation/], | ||
| 23 | }; | ||
| 24 | } | ||
| 25 | |||
| 26 | 0 | ▶ | sub arrays { qw/photo text_entities/ } |
|
Subroutine
arrays: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | |||
| 28 | 5 | 1; | |
| 29 | |||
| 30 | __END__ | ||