Slack Endpoint for AWS Lambda using API Gateway proxy
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"){
...
}
}