| 1 | package Telegram::Bot::Object::MessageEntity; | ||
| 2 | 5 | $Telegram::Bot::Object::MessageEntity::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for Telegram 'MessageEntity' type objects | ||
| 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::User; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 5 | has 'type'; | |
| 10 | 5 | has 'offset'; | |
| 11 | 5 | has 'length'; | |
| 12 | 5 | has 'url'; | |
| 13 | 5 | has 'user'; #User | |
| 14 | |||
| 15 | 0 | ▶ | sub fields { |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 16 | return { | ||
| 17 | 0 | 'scalar' => [qw/type offset length url/], | |
| 18 | 'Telegram::Bot::Object::User' => [qw/user/], | ||
| 19 | }; | ||
| 20 | } | ||
| 21 | |||
| 22 | 5 | 1; | |
| 23 | |||
| 24 | __END__ | ||