from ibis_birdbrain.messages import Message, Messages, Email
= Message("Hello, world!")
m1 m1
Message(df8f6f11-7362-47d8-b932-62424d3cba8d)
Ibis Birdbrain communicates with the user, itself, and (eventually) other bots through Messages
. A Message
is a simple wrapper around text with metadata and optional Attachments
.
Currently, the only implementation of Message
that is viewable as a proper string is Email
.
To:
From:
Subject:
Sent at: 2024-03-05 09:03:08.698844
Message: adca7673-ec5c-4377-bd33-b933fb423af7
Hello
Attachments:
---
To:
From:
Subject:
Sent at: 2024-03-05 09:03:08.698872
Message: 22619ca0-0390-4eaf-951d-459ad636a13f
, world!
Attachments: