Skip to content

Allow "local app bots" to post messages via an Event #17227

@nickvergessen

Description

@nickvergessen

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: main

Is your feature request related to a problem? Please describe.

You can find the code on https://github.com/ahti/nextcloud-talk-incoming-webhook-bot . The spiciest bit is probably WebhookService.sendMessage (I wanted to go the event based route and that's what worked to send messages without having a messsage to respond to).

Describe the solution you'd like
A clean API to post a message

Describe alternatives you've considered
Invoking ChatManager directly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions