| 1 | package Telegram::Bot::Object::ChatInviteLink; | ||
| 2 | 2 | $Telegram::Bot::Object::ChatInviteLink::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for the Telegram type "ChatInviteLink". | ||
| 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 | # basic message stuff | ||
| 13 | 2 | has 'creator'; # User | |
| 14 | |||
| 15 | 2 | has 'invite_link'; # String | |
| 16 | 2 | has 'creates_join_request'; # Boolean | |
| 17 | 2 | has 'is_primary'; # Boolean | |
| 18 | 2 | has 'is_revoked'; # Boolean | |
| 19 | 2 | has 'name'; # String | |
| 20 | 2 | has 'expire_date'; # Integer | |
| 21 | 2 | has 'member_limit'; # Integer | |
| 22 | 2 | has 'pending_join_request_count'; # Integer | |
| 23 | |||
| 24 | 0 | ▶ | sub fields { |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 25 | return { | ||
| 26 | 0 | 'scalar' => [qw/invite_link creates_join_request is_primary is_revoked name expire_date member_limit pending_join_request_count/], | |
| 27 | 'Telegram::Bot::Object::User' => [qw/creator/], | ||
| 28 | }; | ||
| 29 | } | ||
| 30 | |||
| 31 | 0 | ▶ | sub arrays { |
|
Subroutine
arrays: not called CC=1 SCAR=0.0
Pod
documented
| |||
| 32 | } | ||
| 33 | |||
| 34 | |||
| 35 | 2 | 1; | |
| 36 | |||
| 37 | __END__ | ||