Butler.Message

The Butler message.

This module defines a Butler.Message struct to hold all of the data for an incoming message. This message is passed from adapters to plugins and provides all of the necesary information for plugins to respond correctly.

Summary

Types

adapter :: {module, term}
channel :: binary
t :: %Butler.Message{adapter: adapter, channel: channel, text: text, type: type, user: user}
text :: binary | nil
type :: binary
user :: binary