Igor.Message (Igor v0.3.1)

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.

Summary

Types

t()

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