A module for writing Matrix bots
This module maps some parts of the Matrix client-server protocoll to rust
In order to communicate with the Matrix homeserver, this library needs an
authentication token (
This authentication token can either be given directly, or can be generated
using username-password authentication, if the homeserver supports this.
With this authentication token, rooms can be joined or created.
After as room has been joined, messages can be sent to the room and new
messages can be fetched from from the room.
Represents a Matrix homeserver to which an access token has been created
Represents a Matrix room from which events can be fetched from
A message received from or to be sent to a room
An event received from or to be sent to a room