Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

add SendHTML method #58

Closed
wants to merge 2 commits into from
Closed

Conversation

paulbdavis
Copy link

Adds a method to send the exising HTMLMessage

Compared to the SendText method I added an argument to specify the message type for sending "m.notify" or "m.emote" rather than only "m.text"

This was referenced May 25, 2020
Copy link
Member

@kegsay kegsay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better late than never? 2 years is a little long...

@kegsay
Copy link
Member

kegsay commented Mar 24, 2021

Whilst the code is fine, I don't think this is appropriate for the API, given we have things like #82 now. Having multiple ways to do the same thing isn't very Go-like, hence unfortunately I'll have to close this PR. Thanks for your effort on it though!

@kegsay kegsay closed this Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants