From ba6bbead12143dc2739480b3dade845ac9a80e21 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 21 Sep 2018 00:36:45 +0300 Subject: [PATCH] Fix SendMessageEvent signature --- matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix.go b/matrix.go index b03bb10..570eeee 100644 --- a/matrix.go +++ b/matrix.go @@ -101,7 +101,7 @@ type MBMatrixClient interface { SendMessage(roomID, text string) (eventID string, err error) SendMessagef(roomID, text string, args ...interface{}) (eventID string, err error) SendContent(roomID string, content gomatrix.Content) (eventID string, err error) - SendMessageEvent(roomID string, content interface{}) (eventID string, err error) + SendMessageEvent(roomID string, evtType gomatrix.EventType, content interface{}) (eventID string, err error) } type MatrixClient interface {