| 1 | package Net::Async::Slack::Event::Shortcut; | ||
| 2 | |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | our $VERSION = '0.015'; # VERSION | |
| 7 | |||
| 8 | 3 | ▶ | use Net::Async::Slack::EventType; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Net::Async::Slack::Event::Shortcut - User selected a shortcut | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | Example input data: | ||
| 17 | |||
| 18 | { | ||
| 19 | "action_ts": "1678943959.921154", | ||
| 20 | "callback_id": "some_request", | ||
| 21 | "enterprise": null, | ||
| 22 | "is_enterprise_install": false, | ||
| 23 | "team": { | ||
| 24 | "domain": "example", | ||
| 25 | "id => "T02038412", | ||
| 26 | }, | ||
| 27 | "token": "I...", | ||
| 28 | "trigger_id" => "2048348233713.13045238123.402bb8adc722834fe8a8a8ed7a82d1ac", | ||
| 29 | "type": "shortcut", | ||
| 30 | "user": { | ||
| 31 | "id": "U1WC7C9E0", | ||
| 32 | "team_id": "T0D277EE5", | ||
| 33 | "username": "tom" | ||
| 34 | } | ||
| 35 | } | ||
| 36 | |||
| 37 | |||
| 38 | =cut | ||
| 39 | |||
| 40 | 6 | ▶ | sub type { 'shortcut' } |
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 41 | 0 | ▶ | sub callback_id { shift->{callback_id} } |
|
Subroutine
callback_id: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 42 | 0 | ▶ | sub trigger_id { shift->{trigger_id} } |
|
Subroutine
trigger_id: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 43 | 0 | ▶ | sub action_ts { shift->{action_ts} } |
|
Subroutine
action_ts: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 44 | 0 | ▶ | sub token { shift->{token} } |
|
Subroutine
token: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 45 | |||
| 46 | 3 | 1; | |
| 47 | |||
| 48 | __END__ | ||