Skip to content

Attachments in message payload #48

Closed

Description

@JargeZ

Is your feature request related to a problem? Please describe.
Hi, I ran into a problem that I could not find how to send an attachment, which is described by the endpoint in api rocketchat here

Describe the solution you'd like
Implement the necessary keys from the api documentation, which are described here in the send_message method with the correct payload build

Describe alternatives you've considered
I looked at the methods that are in the api class. File upload implemented, I saw issue #22 on this
However, I did not find the possibility of creating my own attachment

P.S.
I just started using this module, so if this feature is available, then I apologize, but I think it will be good if it is described explicitly here.
If it is not implemented yet, then I will probably be able to someday make a PR for this, if I use this module for my integrations. And when I figure out the code and structure.

In any case, I want to hear your comment about this feature.

Thank you!

Activity

  1. soundstorm commented on Jul 3, 2020

    @soundstorm

    The upload_file method is even mentioned in the readme

  2. stale commented on Sep 2, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  3. GrabsOrion commented on Oct 13, 2020

    @GrabsOrion

    +1 to @JargeZ request.
    Upload method is irrelevant since you can't view image preview with it.
    This feature only available if you send an image in the postMessage payload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions