Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
iGusev committed Sep 16, 2015
1 parent 7512f02 commit 2da78f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BotApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public function getUserProfilePhotos($userId, $offset = 0, $limit = 100)
*/
public function setWebhook($url = '', $certificate = null)
{
return $this->call('setWebhook', array('url' => $url));
return $this->call('setWebhook', array('url' => $url, 'certificate' => $certificate));
}

/**
Expand Down

0 comments on commit 2da78f4

Please sign in to comment.