signalbot
signalbot copied to clipboard
[Question] How to identify previous messages?
How can I identify previous messages? I don't mean send prior the "the bot being online".
I see that a reaction
results in this:
ctx.message.raw_message.envelope.dataMessage.reaction
{
"emoji": "\ud83d\udc4d",
"targetAuthor": "REDACTED",
"targetAuthorNumber": "REDACTED",
"targetAuthorUuid": "REDACTED",
"targetSentTimestamp": 1675109984233,
"isRemove": false
}
but what is message "targetSentTimestamp": 1675109984233
?
for contrast reply
does make it more easily to identify the corresponding message:
ctx.message.raw_message.envelope.dataMessage.quote
{
"id": 1234567890,
"author": "REDACTED",
"authorNumber": "REDACTED",
"authorUuid": "REDACTED",
"text": "message that I replied to",
"attachments": []
}
I hope this question makes sense.
p.s.: questions wouldn't require a issue if you enable GitHub discussions in the repository settings. ;)