Add support for sending Markdown messages
This commit is contained in:
@ -29,6 +29,7 @@ type MatrixContainer interface {
|
||||
Start()
|
||||
Stop()
|
||||
SendMessage(roomID, msgtype, message string) (string, error)
|
||||
SendMarkdownMessage(roomID, msgtype, message string) (string, error)
|
||||
SendTyping(roomID string, typing bool)
|
||||
JoinRoom(roomID string) error
|
||||
LeaveRoom(roomID string) error
|
||||
|
@ -89,7 +89,6 @@ type MessageMeta interface {
|
||||
Timestamp() time.Time
|
||||
FormatTime() string
|
||||
FormatDate() string
|
||||
CopyFrom(from MessageMeta)
|
||||
}
|
||||
|
||||
// MessageState is an enum to specify if a Message is being sent, failed to send or was successfully sent.
|
||||
|
Reference in New Issue
Block a user