Skip to content

Commit 3c569ea

Browse files
committed
Revise README.
- Fix contents. - Fix namespace. - Add more available methods to contents.
1 parent 1b2b339 commit 3c569ea

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ This package makes it easy to send notifications using the [Facebook Messenger](
1111
## Contents
1212

1313
- [Installation](#installation)
14-
- [Setting up the Facebook service](#setting-up-the-facebook-service)
14+
- [Setting up your Facebook Bot](#setting-up-your-facebook-bot)
1515
- [Usage](#usage)
1616
- [Available Message methods](#available-message-methods)
17-
- [Changelog](#changelog)
18-
- [Testing](#testing)
19-
- [Security](#security)
17+
- [Available Button methods](#available-button-methods)
18+
- [Available Card methods](#available-card-methods)
2019
- [Contributing](#contributing)
2120
- [Credits](#credits)
2221
- [License](#license)
@@ -55,7 +54,7 @@ Based on the details you add (text, attachments etc.) will determine automatical
5554
``` php
5655
use NotificationChannels\Facebook\FacebookChannel;
5756
use NotificationChannels\Facebook\FacebookMessage;
58-
use NotificationChannels\Facebook\Component\Button;
57+
use NotificationChannels\Facebook\Components\Button;
5958
use NotificationChannels\Facebook\Enums\NotificationType;
6059

6160
use Illuminate\Notifications\Notification;
@@ -125,7 +124,7 @@ return FacebookMessage::create()
125124

126125
You can either send the notification by providing with the page-scoped user id (PSID) of the recipient to the `to($userId)` method like shown in the above example or add a `routeNotificationForFacebook()` method in your notifiable model:
127126

128-
``` php
127+
```php
129128
...
130129
/**
131130
* Route notifications for the Facebook channel.

0 commit comments

Comments
 (0)