Reaction
Reaction ¶
Bases: BaseModel
Dataclass representing a reaction.
Attributes:
| Name | Type | Description |
|---|---|---|
emoji |
str
|
The emoji of the reaction. |
target_author |
str
|
The author of the target message. |
target_author_number |
str | None
|
The phone number of the author of the target message, if available. |
target_author_uuid |
str
|
The UUID of the author of the target message. |
target_sent_timestamp |
int
|
The timestamp of the target message. |
is_remove |
bool
|
Whether this reaction is a removal of a previous reaction. |
Source code in src/signalbot/reaction.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |