SendMessage now takes string

This commit is contained in:
itzaname 2017-01-07 21:30:45 -05:00
parent 0a5c89eb5d
commit df35140c0a

View File

@ -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,