NAME

Net::Async::Slack::Event::ResourcesAdded - Access to a set of resources was granted for your app

DESCRIPTION

Example input data:

{
        "token": "XXYYZZ",
        "team_id": "TXXXXXXXX",
        "api_app_id": "AXXXXXXXXX",
        "event": {
                "type": "resources_added",
                "resources": [
                        {
                                "resource": {
                                        "type": "im",
                                        "grant": {
                                                "type": "specific",
                                                "resource_id": "DXXXXXXXX"
                                        }
                                },
                                "scopes": [
                                        "chat:write:user",
                                        "im:read",
                                        "im:history",
                                        "commands"
                                ]
                        }
                ]
        },
        "type": "event_callback",
        "authed_teams": [],
        "event_id": "EvXXXXXXXX",
        "event_time": 1234567890
}

INHERITED METHODS

Net::Async::Slack::EventType

from_json, import, new

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

Copyright Tom Molesworth 2016-2024. Licensed under the same terms as Perl itself.