1
0
Fork 0
mirror of synced 2025-04-09 12:02:00 +00:00
messenger/actions.go
Panich Maxim eb0e72a5dc Api update
Postback action handler
Dynamic WebHook
Button Template Message
Generic Template Message
2016-05-03 16:42:25 +03:00

16 lines
499 B
Go

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
// PostBackAction represents post call back
PostBackAction
)