You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,8 @@ You will find your username and password at https://46elks.se/account
64
64
65
65
To use this channel simply create a notification that has the following content:
66
66
```
67
+
use NotificationChannels\FortySixElks\FortySixElksChannel;
68
+
use NotificationChannels\FortySixElks\FortySixElksSMS;
67
69
68
70
public function via($notifiable)
69
71
{
@@ -77,7 +79,8 @@ To use this channel simply create a notification that has the following content:
77
79
->line('Testsms')
78
80
->line('Olle')
79
81
->to('+46762216234')
80
-
->from('Emil');
82
+
->from('Emil')
83
+
// -dry()
81
84
}
82
85
```
83
86
### Available mediums
@@ -94,8 +97,9 @@ The FortySixElksSMS have the following methods, all chainable.
94
97
95
98
``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.
96
99
97
-
``dryrun()`` Enable when you want to verify your API request without actually sending an SMS to a mobile phone.
98
-
No SMS message will be sent when this is enabled.
100
+
``dry()`` Enable when you want to verify your API request without actually sending an SMS to a mobile phone.
101
+
No SMS message will be sent when this is enabled. To be able inspect a dry() request you need to
102
+
send your message to +4670000000 then you can inspect it at [https://46elks.com/logs](https://46elks.com/logs)
99
103
100
104
``whendelivered('http://localhost')`` This webhook URL will receive a POST request every time the delivery status changes.
0 commit comments