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

sendSimpleMessage should accept SendSimpleMessageOptions #53

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions