File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function toTwitter($notifiable) {
103103````
104104### Publish Twitter status update with images
105105It is possible to publish images with your status update too. You just have to pass the image paths as the second
106- parameter. These images images will then be shown next to your Twitter status message.
106+ parameter. These images will then be shown next to your Twitter status message.
107107```` php
108108public function toTwitter($notifiable) {
109109 return new TwitterStatusUpdate(
@@ -117,8 +117,7 @@ To send a Twitter direct message to a specific user, you will need the `TwitterD
117117user handler as the first parameter and the the message as the second one.
118118```` php
119119public function toTwitter($notifiable) {
120- return new TwitterDirectMessage('marcelpociot', 'Hey Marcel, it was nice meeting you at the Larcon. Greets
121- Christoph');
120+ return new TwitterDirectMessage('marcelpociot', 'Hey Marcel, it was nice meeting you at the Larcon.');
122121}
123122````
124123Make sure the user is following you on Twitter to make this work.
You can’t perform that action at this time.
0 commit comments