Skip to content

Sending file attachments #177

@swt2c

Description

@swt2c

Is sending file attachments supposed to work, and if so, how?

I've tried using something like this:

    mai = MessageActivityInput().add_attachments(
        Attachment(
            content_type=content_type,
            content_url=content_url,
            name="Attachment Name",
        )
    )
    await ctx.send(mai)

But all I get in response is a box with the attachment name that I can't click or download.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions