Skip to content

Commit 0ed0cbf

Browse files
committed
Fixed small issue with webhook
1 parent da7fb4d commit 0ed0cbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Telegram/Bot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function updates(bool $enableDefaultUpdates = false, ?int $offset = null)
112112

113113
}else if($this->updatesMethod === self::UPDATES_FROM_WEBHOOK){
114114

115-
return new Updates(json_decode(file_get_contents("php://input")));
115+
return new Updates(json_decode(file_get_contents("php://input")), $enableDefaultUpdates);
116116

117117
} else{
118118

0 commit comments

Comments
 (0)