novintarhpars/send-voice-message
Composer 安装命令:
composer require novintarhpars/send-voice-message
包简介
the project for send voice message by simotel
README 文档
README
About The Project
this library created for Send Voice Message in Simotel
Install Library
composer require novin-tarh-pars/send-voice-message
Usage
1.Create and set enviroment variable .env file
API_BASE_URL=<YourSimotelApiUrl> //example https://0.0.0.0/api/v3/autodialer/ API_KEY=<YourSimotelApiToken> //show or create in simotel admin panel maintenance -> api accounts API_USERNAME=<YourSimotelApiUsername> //show or create in simotel admin panel maintenance -> api accounts API_PASSWORD=<YourSimotelApiPassword> //show or create in simotel admin panel maintenance -> api accounts
2.Use Class FastSimotelService in your controller
<?php require_once './vendor/autoload.php'; use NovinTarhPars\SendVoiceMessage; /** $url = file | ["http://"] : File | URL // file type mp3,mp4,wav $numbers = ["0999999999"] : array $options = [ "interface_context" => "", "interface_text" => "", "try_interval" => "600", "try" => 1, "start" => "2020-01-01 17:00", "end" => "2020-01-02 17:00", "description" => "this campain create by api", "count" => 1 ] : array */ SendVoiceMessage::run($numbers,$url,$options);
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-11-01