Skip to content

Commit 972e53e

Browse files
authored
Update BusinessConnection.php
rights is optial parament in Telegram Bot Api
1 parent 3e7c9a3 commit 972e53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/BusinessConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(
1818
public User $user,
1919
public int $userChatId,
2020
public DateTimeImmutable $date,
21-
public ?BusinessBotRights $rights,
2221
public bool $isEnabled,
22+
public ?BusinessBotRights $rights = null,
2323
) {}
2424
}

0 commit comments

Comments
 (0)