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] Expose file attachments/uploads to bot #1831

Open
gpdeltedesco opened this issue May 31, 2024 · 0 comments
Open

[FEATURE] Expose file attachments/uploads to bot #1831

gpdeltedesco opened this issue May 31, 2024 · 0 comments

Comments

@gpdeltedesco
Copy link

gpdeltedesco commented May 31, 2024

Is your feature request related to a problem? Please describe.
After the v12.31.4 release, along with the messaging v1.2.13 release adding the feature #646 (add attachments to core on teams), i was expecting to be able to get file attachments in my bots. This appears to be impossible right now.

Describe the solution you'd like
When an user sends attachments, i expect to receive the related metadata in incoming events (inside the event payload) and/or in incoming messages (in the message payload). I only expect the url, mime type and name, as collected (for Teams) in https://github.com/botpress/messaging/blob/020391d39b16056abad31687544a062dc91c16b1/packages/channels/src/teams/api.ts#L40.

I do not expect Botpress to automatically fetch the attachment and store it somewere, or to do any sort of processing.

Describe alternatives you've considered
To "hack" and somehow intercept requests to messaging webhook, and try to obtain the information from there.

Additional context
Adding attachments is a common request from our users... e.g: for sending screenshots to IT Support, or complementary data for creating a ticket.

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

1 participant