Skip to content

Commit

Permalink
Merge pull request #18 from TechTomaz/fix/update-readme
Browse files Browse the repository at this point in the history
Update readme
  • Loading branch information
larsemil authored Sep 12, 2023
2 parents b19a405 + 7373b88 commit a72079b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ You will find your username and password at https://46elks.se/account

To use this channel simply create a notification that has the following content:
```
use NotificationChannels\FortySixElks\FortySixElksChannel;
use NotificationChannels\FortySixElks\FortySixElksSMS;
public function via($notifiable)
{
Expand All @@ -77,7 +79,8 @@ To use this channel simply create a notification that has the following content:
->line('Testsms')
->line('Olle')
->to('+46762216234')
->from('Emil');
->from('Emil')
// -dry()
}
```
### Available mediums
Expand All @@ -94,8 +97,9 @@ The FortySixElksSMS have the following methods, all chainable.

``flash()`` Will set the message type to flash. Will not endup in sms inbox. See [This tweet](https://twitter.com/46elks/status/583183559420178432) to find out how it looks on an iphone.

``dryrun()`` Enable when you want to verify your API request without actually sending an SMS to a mobile phone.
No SMS message will be sent when this is enabled.
``dry()`` Enable when you want to verify your API request without actually sending an SMS to a mobile phone.
No SMS message will be sent when this is enabled. To be able inspect a dry() request you need to
send your message to +4670000000 then you can inspect it at [https://46elks.com/logs](https://46elks.com/logs)

``whendelivered('http://localhost')`` This webhook URL will receive a POST request every time the delivery status changes.

Expand Down

0 comments on commit a72079b

Please sign in to comment.