SendMessage now takes string
This commit is contained in:
parent
0a5c89eb5d
commit
df35140c0a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user