Skip to content

Commit ff11b6e

Browse files
authored
Update README.md
Fixed the usage of loginUrl()...
1 parent 2417445 commit ff11b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This is done the same way for `InlineKeyboardButton`:
9999

100100
```php
101101
InlineKeyboardButton::make('Login')
102-
->loginUrl('https://example.com');
102+
->loginUrl(['url' => 'https://example.com']);
103103
```
104104

105105
To find out which fields are available have a look at the [Bot API documentation](https://core.telegram.org/bots/api).

0 commit comments

Comments
 (0)