Skip to content

Commit

Permalink
Merge pull request #13 from alizaya/patch-1
Browse files Browse the repository at this point in the history
fix send sender in send message
  • Loading branch information
moeen authored Feb 5, 2024
2 parents 4034105 + 2f2bbb0 commit 77039f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
//Send ...
func (m *MessageService) Send(sender string, receptor []string, message string, params *MessageSendParam) ([]Message, error) {
v := url.Values{}
v.Set("sender", sender)
v.Set("receptor", ToString(receptor))
v.Set("message", message)
if params != nil {
Expand Down

0 comments on commit 77039f5

Please sign in to comment.