Skip to content

Commit 98b2fa4

Browse files
committed
fix
1 parent 4f2fb7c commit 98b2fa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Request.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public static function executeCurl($action, array $data = null)
181181

182182
$curlConfig = [
183183
CURLOPT_URL => 'https://api.telegram.org/bot' . self::$telegram->getApiKey() . '/' . $action,
184+
CURLOPT_POST => true,
184185
CURLOPT_RETURNTRANSFER => true,
185186
CURLOPT_SAFE_UPLOAD => true,
186187
];

0 commit comments

Comments
 (0)