Bot/Object/InlineKeyboardButton.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 88.0% 22 / 25 CC 1 SCAR 2.2
CC
1
Cov
95%
fields
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Bot/Object/Animation.pm ↑ Summary Bot/Object/ChatInviteLink.pm »
1 package Telegram::Bot::Object::InlineKeyboardButton;
2 5 $Telegram::Bot::Object::InlineKeyboardButton::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram 'InlineKeyboardButton' 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::LoginUrl;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use Telegram::Bot::Object::CallbackGame;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 5 has 'text';
11 5 has 'url';
12 5 has 'login_url'; #LoginUrl
13 5 has 'callback_data';
14 5 has 'switch_inline_query';
15 5 has 'switch_inline_query_current_chat';
16 5 has 'callback_game'; # CallbackGame
17 5 has 'pay';
18  
19 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
20 0 return { 'scalar' => [qw/text url callback_data switch_inline_query
21 switch_inline_query_current_chat switch_inline_query_current_chat
22 pay/],
23 'Telegram::Bot::Object::LoginUrl' => [qw/login_url/],
24 'Telegram::Bot::Object::CallbackGame'=> [qw/callback_game/],
25 };
26 }
27  
28 5 1;
29  
30 __END__
« Bot/Object/Animation.pm ↑ Summary Bot/Object/ChatInviteLink.pm »