Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support reply by bot #17

Closed
Kariton opened this issue Jan 31, 2023 · 6 comments
Closed

[Feature Request] Support reply by bot #17

Kariton opened this issue Jan 31, 2023 · 6 comments

Comments

@Kariton
Copy link
Contributor

Kariton commented Jan 31, 2023

As far as I understand there is no way to reply to a message.

It would be nice if the bot could reply to the command itself, or other messages.

EDIT: you actually can read reply's. And this solves a big portion of my initial description.

@Kariton
Copy link
Contributor Author

Kariton commented Jan 31, 2023

Reply's can indeed be read as such (in a upcoming version - i currently use https://test.pypi.org/project/signalbot/0.6.0a1673782638/):

``ctx.message.raw_message.envelope.dataMessage.quote```

{
    "id": 1234567890,
    "author": "REDACTED",
    "authorNumber": "REDACTED",
    "authorUuid": "REDACTED",
    "text": "message that I replied to",
    "attachments": []
}

@Kariton Kariton changed the title [Feature Request] Support reply [Feature Request] Support reply by bot Jan 31, 2023
@Kariton
Copy link
Contributor Author

Kariton commented Feb 1, 2023

well: bbernhard/signal-cli-rest-api#261

@Kariton
Copy link
Contributor Author

Kariton commented Feb 11, 2023

After looking into it a bit more i found this:
bbernhard/signal-cli-rest-api#208

Added support for missing send arguments:

Mentions
Quote timestamp
Quote author
Quote message
Quote mentions

but i don't think this is currently supported here.

@filipre
Copy link
Owner

filipre commented Aug 13, 2023

I just implemented it. Can you take a look here?

@Kariton
Copy link
Contributor Author

Kariton commented Aug 23, 2023

That does work.
Thank you very much!

I would like to keep it open until the 0.8.0 is released. :)

@filipre
Copy link
Owner

filipre commented Sep 16, 2023

Released

@filipre filipre closed this as completed Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants