slack_command v1.0.0 SlackCommand.Message View Source

Struct for representing a single slack message.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %SlackCommand.Message{
  as_user: term(),
  attachments: [map()],
  channel: String.t(),
  text: String.t()
}

Link to this section Functions

Link to this function new(attrs \\ %{}) View Source
new(map()) :: t()
Link to this function to(message, channel) View Source
to(t(), String.t()) :: t()