Extracted scenario
This commit is contained in:
parent
c02435ccaa
commit
cc2058090c
13 changed files with 235 additions and 173 deletions
|
|
@ -31,7 +31,7 @@ type errorResponse struct {
|
|||
ErrorMsg string `json:"error_msg"`
|
||||
}
|
||||
|
||||
func (s *ApiSender) send(userId int64, message string) {
|
||||
func (s *ApiSender) Send(userId int64, message string) {
|
||||
randomId := rand.Int63()
|
||||
params := []string{
|
||||
"access_token=" + s.Token,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue