Quote
Quote ¶
Bases: BaseModel
Dataclass to representing a quote.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
int
|
The ID of the quoted message. |
author |
str
|
The author of the quoted message. |
author_number |
str | None
|
The phone number of the author of the quoted message, if available. |
author_uuid |
str
|
The UUID of the author of the quoted message. |
text |
str
|
The text of the quoted message. |
attachments |
list[dict[str, Any]]
|
A list of attachments of the quoted message, if available. |
Source code in src/signalbot/quote.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |