Extracted scenario

This commit is contained in:
Artyom Belousov 2021-06-06 11:00:50 +03:00
parent c02435ccaa
commit cc2058090c
13 changed files with 235 additions and 173 deletions

View file

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