matrix-org / gomatrix

A Golang Matrix client
Apache License 2.0
285 stars 53 forks source link

Send Formatted Text r0.6.0 #82

Closed TheDiscordian closed 4 years ago

TheDiscordian commented 4 years ago

Adds:

// SendFormattedText sends an m.room.message event into the given room with a msgtype of m.text, supports a subset of HTML for formatting.
// See https://matrix.org/docs/spec/client_server/r0.6.0#m-text
func (cli *Client) SendFormattedText(roomID, text, formattedText string) (*RespSendEvent, error) {
TheDiscordian commented 4 years ago

This might conflict with #58's intent.