| 1 | package WebService::Slack::WebApi::Conversations; | ||
| 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 | is_private => { isa => 'Bool', optional => 1 }, | ||
| 18 | user_ids => { isa => 'Str', optional => 1 }, | ||
| 19 | }, | ||
| 20 | history => { | ||
| 21 | channel => 'Str', | ||
| 22 | cursor => { isa => 'Str', optional => 1 }, | ||
| 23 | inclusive => { isa => 'Bool', optional => 1 }, | ||
| 24 | latest => { isa => 'Str', optional => 1 }, | ||
| 25 | oldest => { isa => 'Str', optional => 1 }, | ||
| 26 | }, | ||
| 27 | info => { | ||
| 28 | channel => 'Str', | ||
| 29 | include_locale => { isa => 'Bool', optional => 1 }, | ||
| 30 | }, | ||
| 31 | invite => { | ||
| 32 | channel => 'Str', | ||
| 33 | user => 'Str', | ||
| 34 | }, | ||
| 35 | join => { | ||
| 36 | channel => 'Str', | ||
| 37 | }, | ||
| 38 | kick => { | ||
| 39 | channel => 'Str', | ||
| 40 | user => 'Str', | ||
| 41 | }, | ||
| 42 | leave => { | ||
| 43 | channel => 'Str', | ||
| 44 | }, | ||
| 45 | list => { | ||
| 46 | cursor => { isa => 'Str', optional => 1 }, | ||
| 47 | exclude_archived => { isa => 'Bool', optional => 1 }, | ||
| 48 | limit => { isa => 'Int', optional => 1 }, | ||
| 49 | types => { isa => 'Str', optional => 1 }, | ||
| 50 | }, | ||
| 51 | members => { | ||
| 52 | channel => 'Str', | ||
| 53 | cursor => { isa => 'Str', optional => 1 }, | ||
| 54 | limit => { isa => 'Int', optional => 1 }, | ||
| 55 | }, | ||
| 56 | open => { | ||
| 57 | channel => { isa => 'Str', optional => 1 }, | ||
| 58 | return_im => { isa => 'Bool', optional => 1 }, | ||
| 59 | users => { isa => 'Str', optional => 1 }, | ||
| 60 | }, | ||
| 61 | rename => { | ||
| 62 | channel => 'Str', | ||
| 63 | name => 'Str', | ||
| 64 | }, | ||
| 65 | replies => { | ||
| 66 | channel => 'Str', | ||
| 67 | ts => 'Str', | ||
| 68 | cursor => { isa => 'Str', optional => 1 }, | ||
| 69 | inclusive => { isa => 'Bool', optional => 1 }, | ||
| 70 | latest => { isa => 'Str', optional => 1 }, | ||
| 71 | limit => { isa => 'Int', optional => 1 }, | ||
| 72 | oldest => { isa => 'Str', optional => 1 }, | ||
| 73 | }, | ||
| 74 | set_purpose => { | ||
| 75 | channel => 'Str', | ||
| 76 | purpose => 'Str', | ||
| 77 | }, | ||
| 78 | set_topic => { | ||
| 79 | channel => 'Str', | ||
| 80 | topic => 'Str', | ||
| 81 | }, | ||
| 82 | unarchive => { | ||
| 83 | channel => 'Str', | ||
| 84 | }, | ||
| 85 | 3 | ); | |
| 86 | |||
| 87 | 3 | 1; | |
| 88 | |||