Versions in this module Expand all Collapse all v0 v0.0.1 Feb 7, 2021 Changes in this version + func NewHandler(authenticateRequests bool, key string, wh WebHook) func(events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) + type Request struct + Attachments []struct{ ... } + ChannelData struct{ ... } + ChannelID string + Conversation struct{ ... } + Entities []interface{} + FromUser User + ID string + LocalTimestamp string + RecipientUser User + ServiceURL string + Text string + TextFormat string + Timestamp string + Type string + type Response struct + Text string + Type string + func BuildResponse(text string) Response + type User struct + ID string + Name string + type WebHook interface + OnMessage func(Request) (Response, error)