Igor v0.3.0 Igor.Message View Source

Received Matrix message.

This module represents a Matrix message that was received by Igor.

The text field is a plain-text version of the message. parsed_command is a result of attempting to parse text as a command. If it cannot be parsed as a command, it will be nil.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Igor.Message{
  content: map(),
  event_id: String.t(),
  parsed_command: list(),
  room: String.t(),
  sender: String.t(),
  text: String.t(),
  type: String.t()
}