How to use farazsms pattern
Closed this issue · 1 comments
HamedSherafat commented
Hi
I want to use farazsms pattern driver, but where I can set the template id and fill variables in the pattern?
Sms::via('farazsmspattern')->send($text)->to([$user->mobile])->dispatch();
HamedSherafat commented
ok, i found it:
$patternId = "abcd";
$code = "1234";
Sms::via('farazsmspattern')->send("patternId=$patternId\ncode=$code")->to([$user->mobile]])->dispatch();