forked from ebhomengo/niki
1
0
Fork 0
niki/vendor/github.com/kavenegar/kavenegar-go/message_select.go

17 lines
327 B
Go
Raw Permalink Normal View History

2024-08-29 03:26:59 +00:00
package kavenegar
import (
"net/url"
)
//Select ...
func (message *MessageService) Select(messageid []string) ([]Message, error) {
u := message.client.EndPoint("sms", "select")
m := new(MessageResult)
v := url.Values{
"messageid": messageid,
}
err := message.client.Execute(u.String(), v, m)
return m.Entries, err
}