| 1 | package WebService::Slack::WebApi::Groups; | ||
| 2 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | ▶ | use parent 'WebService::Slack::WebApi::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | ▶ | use WebService::Slack::WebApi::Generator ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 3 | archive => { | |
| 10 | channel => 'Str', | ||
| 11 | }, | ||
| 12 | close => { | ||
| 13 | channel => 'Str', | ||
| 14 | }, | ||
| 15 | create => { | ||
| 16 | name => 'Str', | ||
| 17 | validate => { isa => 'Bool', optional => 1 }, | ||
| 18 | }, | ||
| 19 | create_child => { | ||
| 20 | channel => 'Str', | ||
| 21 | }, | ||
| 22 | history => { | ||
| 23 | channel => 'Str', | ||
| 24 | count => { isa => 'Int', optional => 1 }, | ||
| 25 | inclusive => { isa => 'Bool', optional => 1 }, | ||
| 26 | latest => { isa => 'Str', optional => 1 }, | ||
| 27 | oldest => { isa => 'Str', optional => 1 }, | ||
| 28 | unreads => { isa => 'Bool', optional => 1 }, | ||
| 29 | }, | ||
| 30 | info => { | ||
| 31 | channel => 'Str', | ||
| 32 | }, | ||
| 33 | invite => { | ||
| 34 | channel => 'Str', | ||
| 35 | user => 'Str', | ||
| 36 | }, | ||
| 37 | kick => { | ||
| 38 | channel => 'Str', | ||
| 39 | user => 'Str', | ||
| 40 | }, | ||
| 41 | leave => { | ||
| 42 | channel => 'Str', | ||
| 43 | }, | ||
| 44 | list => { | ||
| 45 | exclude_archived => { isa => 'Bool', optional => 1 }, | ||
| 46 | exclude_members => { isa => 'Bool', optional => 1 }, | ||
| 47 | }, | ||
| 48 | mark => { | ||
| 49 | channel => 'Str', | ||
| 50 | ts => 'Str', | ||
| 51 | }, | ||
| 52 | open => { | ||
| 53 | channel => 'Str' | ||
| 54 | }, | ||
| 55 | rename => { | ||
| 56 | channel => 'Str', | ||
| 57 | name => 'Str', | ||
| 58 | validate => { isa => 'Bool', optional => 1 }, | ||
| 59 | }, | ||
| 60 | replies => { | ||
| 61 | channel => 'Str', | ||
| 62 | thread_ts => 'Str', | ||
| 63 | }, | ||
| 64 | set_purpose => { | ||
| 65 | channel => 'Str', | ||
| 66 | purpose => 'Str', | ||
| 67 | }, | ||
| 68 | set_topic => { | ||
| 69 | channel => 'Str', | ||
| 70 | topic => 'Str', | ||
| 71 | }, | ||
| 72 | unarchive => { | ||
| 73 | channel => 'Str', | ||
| 74 | }, | ||
| 75 | 3 | ); | |
| 76 | |||
| 77 | 3 | 1; | |
| 78 | |||