| 1 | package Net::Async::Slack::Event::MessageAppHome; | ||
| 2 | |||
| 3 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 4 | our $VERSION = '0.015'; # VERSION | |
| 7 | |||
| 8 | 4 | ▶ | use Net::Async::Slack::EventType; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Net::Async::Slack::Event::MessageAppHome - A user sent a message to your Slack app | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | Example input data: | ||
| 17 | |||
| 18 | { | ||
| 19 | "token": "one-long-verification-token", | ||
| 20 | "team_id": "T061EG9R6", | ||
| 21 | "api_app_id": "A0PNCHHK2", | ||
| 22 | "event": { | ||
| 23 | "type": "message", | ||
| 24 | "user": "U061F7AUR", | ||
| 25 | "text": "How many cats did we herd yesterday?", | ||
| 26 | "ts": "1525215129.000001", | ||
| 27 | "channel": "D0PNCRP9N", | ||
| 28 | "event_ts": "1525215129.000001", | ||
| 29 | "channel_type": "app_home" | ||
| 30 | }, | ||
| 31 | "type": "event_callback", | ||
| 32 | "authed_teams": [ | ||
| 33 | "T061EG9R6" | ||
| 34 | ], | ||
| 35 | "event_id": "Ev0PV52K25", | ||
| 36 | "event_time": 1525215129 | ||
| 37 | } | ||
| 38 | |||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 8 | ▶ | sub type { 'message.app_home' } |
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 43 | |||
| 44 | 4 | 1; | |
| 45 | |||
| 46 | __END__ | ||