Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiId and sender for sms.ru #4

Closed
bigperson opened this issue Jul 16, 2019 · 2 comments
Closed

ApiId and sender for sms.ru #4

bigperson opened this issue Jul 16, 2019 · 2 comments

Comments

@bigperson
Copy link

How auth by api_id?
How to user from sender and other params?

$client = new \Zelenin\SmsRu\Api(new \Zelenin\SmsRu\Auth\ApiIdAuth($apiId));
$sms = new \Zelenin\SmsRu\Entity\Sms($phone, $text);
$sms->translit = 1;
$sms->from= 'test';

$client->smsSend($sms);
@maximkou
Copy link
Contributor

maximkou commented Jul 22, 2019

How auth by api_id?

Hi! Now it's not possible, but you can look example of solution here

How to user from sender and other params?
This feature is not implemented now for sms.ru.

I add this features into plan, but it's require some time (1-2 months). PR's are welcome.

@maximkou
Copy link
Contributor

@bigperson Hi! Requested features is added in version 0.6.0 (information about usage is in readme). Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants