MessageContent is the content of a message. Currently only text content is supported.
| 42 | |
| 43 | |
| 44 | class MessageContent(BaseModel): |
| 45 | |
| 46 | """ |
| 47 | MessageContent is the content of a message. Currently only text content is supported. |
| 48 | """ |
| 49 | |
| 50 | text: str = Field(..., description="The text content of the message.", examples=["Hello!"]) |
| 51 | |
| 52 | # todo: support more content type, i.e. file, image, etc. |
| 53 | |
| 54 | |
| 55 | class Message(ModelEntity): |
no outgoing calls
no test coverage detected