Skip to content

stoiveyp/Slack.NetStandard.Endpoint.ApiGatewayLambdaProxy

Repository files navigation

Slack.NetStandard.Endpoint.ApiGatewayLambdaProxy

Slack Endpoint for AWS Lambda using API Gateway proxy

Usage - Add it to your lambda

public Function(){
    var signingSecret = //retrieve signing secret...
    Endpoint = new APIGatewayEndpoint(signingSecret);
}

public Task<APIGatewayProxyResponse> FunctionHandler(APIGatewayProxyRequest input)
{
    var slackInfo = Endpoint.Process(input);
    if(slackInfo.Command != null && slackInfo.Command.Command == "/weather"){
       ...
    }
}

About

Slack Endpoint for AWS Lambda using API Gateway proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages