Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

sendSimpleMessage should accept SendSimpleMessageOptions #53

@zmarkan

Description

@zmarkan

What?

At the moment sendSimpleMessage accepts SendMessageOptions, which takes an optional attachment: AttachmentOptions property.

This is incorrect for sending simple, text-only messages, and will appear as a suggestion in VSCode and other IDEs that support TS typings.

Suggested improvements

Create a new interface SendSimpleMessageOptions that doesn't include the attachment property.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions