Bot/Object/ChatMember.pm

filter: Statementstmt 97.6% 42 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 50.0% 1 / 2 totaltotal 92.0% 46 / 50 CC 1 SCAR 1.8
CC
1
Cov
98%
fields
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Bot/Object/ChatInviteLink.pm ↑ Summary Bot/Object/Location.pm »
1 package Telegram::Bot::Object::ChatMember;
2 2 $Telegram::Bot::Object::ChatMember::VERSION = '0.029';
3 # ABSTRACT: The base class for the Telegram type "ChatMember".
4  
5  
6 2 ▶use Mojo::Base 'Telegram::Bot::Object::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶use Telegram::Bot::Object::User;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 has 'status';
13 2 has 'user';
14  
15 2 has 'can_add_web_page_previews'; # optional
16 2 has 'can_be_edited'; # optional
17 2 has 'can_change_info'; # optional
18 2 has 'can_delete_messages'; # optional
19 2 has 'can_delete_stories'; # optional
20 2 has 'can_edit_messages'; # optional
21 2 has 'can_edit_stories'; # optional
22 2 has 'can_invite_users'; # optional
23 2 has 'can_manage_chat'; # optional
24 2 has 'can_manage_topics'; # optional
25 2 has 'can_manage_video_chats'; # optional
26 2 has 'can_manage_voice_chats'; # optional
27 2 has 'can_pin_messages'; # optional
28 2 has 'can_post_messages'; # optional
29 2 has 'can_post_stories'; # optional
30 2 has 'can_promote_members'; # optional
31 2 has 'can_restrict_members'; # optional
32 2 has 'can_send_audios'; # optional
33 2 has 'can_send_documents'; # optional
34 2 has 'can_send_messages'; # optional
35 2 has 'can_send_other_messages'; # optional
36 2 has 'can_send_photos'; # optional
37 2 has 'can_send_polls'; # optional
38 2 has 'can_send_video_notes'; # optional
39 2 has 'can_send_videos'; # optional
40 2 has 'can_send_voice_notes'; # optional
41 2 has 'custom_title'; # optional
42 2 has 'is_anonymous'; # optional
43 2 has 'until_date'; # optional
44  
45  
46 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
47 return {
48 0 scalar => [qw/status can_add_web_page_previews can_be_edited
49 can_change_info can_delete_messages can_delete_stories
50 can_edit_messages can_edit_stories can_invite_users
51 can_manage_chat can_manage_topics can_manage_video_chats
52 can_manage_voice_chats can_pin_messages can_post_messages
53 can_post_stories can_promote_members can_restrict_members
54 can_send_audios can_send_documents can_send_messages
55 can_send_other_messages can_send_photos can_send_polls
56 can_send_video_notes can_send_videos can_send_voice_notes
57 custom_title is_anonymous until_date/],
58 'Telegram::Bot::Object::User' => [qw/user/],
59 };
60 }
61  
62 0 ▶sub arrays {
Subroutine arrays: not called CC=1 SCAR=0.0
Pod documented
63 }
64  
65 2 1;
66  
67 __END__
« Bot/Object/ChatInviteLink.pm ↑ Summary Bot/Object/Location.pm »