Skip to content

Is there support for uploading an image along with text? #70

Open

Description

@mmehrle

My python bot needs to upload an image to a channel. Can that be done via the current API version?

Activity

  1. mmehrle commented on Apr 12, 2024

    @mmehrle
    Author

    I wrote some test code based on your upload_file() function and am getting this error:

    raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://chat.redpillquants.com/api/v1/rooms.upload/cbbc_oi_tracker

    Do you happen to know how that can be avoided? I am not sure there is a RocketChat setting or this anywhere.

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