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,