From df35140c0a98f356a671654460b41032e3cdcc41 Mon Sep 17 00:00:00 2001 From: itzaname Date: Sat, 7 Jan 2017 21:30:45 -0500 Subject: [PATCH] SendMessage now takes string --- message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message.go b/message.go index 3ec2715..f2456c1 100644 --- a/message.go +++ b/message.go @@ -60,7 +60,7 @@ func (s *Session) GetInbox() ([]Message, error) { } // SendMessage will send a message via post -func (s *Session) SendMessage(subject string, body string, recipientid int) error { +func (s *Session) SendMessage(subject string, body string, recipientid string) error { payload := map[string]interface{}{ "subject": subject, "body": body,