Skip to content

No way to download attachments #10

@paulvt

Description

@paulvt

Unless I'm missing something, I cannot download attachments of messages (e.g. images). It seems they need to be download using the API as I cannot find a public URL in the message attachment data. I tried using Request#get, but that also doesn't seem to work?

Example:

msgs = @client.messages
msgs.each do |msg|
  @client.get(msg["attachments"].first["path"]) unless msg["attachments"].empty?
end

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