From f98f5920a3ce2d777342b541b37969895d101904 Mon Sep 17 00:00:00 2001 From: Harrison Date: Thu, 14 Apr 2016 09:47:15 +1000 Subject: [PATCH] Add documentation of actions --- actions.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actions.go b/actions.go index 6b545c0..5d689d7 100644 --- a/actions.go +++ b/actions.go @@ -1,9 +1,14 @@ package messenger +// Action is used to determine what kind of message a webhook event is. type Action int const ( + // UnknownAction means that the event was not able to be classified. UnknownAction Action = iota - 1 + // TextAction means that the event was a text message (May contain attachments). TextAction + // DeliveryAction means that the event was a previous recipient reading their respective + // messages. DeliveryAction )