Skip to content

Commit

Permalink
Corrects the parameter of the method getuserProfilegetUserProfilePhotos
Browse files Browse the repository at this point in the history
from issue #13

@link #13
  • Loading branch information
rflsouza committed Jan 8, 2016
1 parent 10b3fa2 commit 507c30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public function sendChatAction($chat_id, $action)
*/
public function getUserProfilePhotos($user_id, $offset = null, $limit = null)
{
$param = compact('user_id', 'offset', 'limit');
$params = compact('user_id', 'offset', 'limit');

return $this->sendRequest('getUserProfilePhotos', $params);
}
Expand Down

0 comments on commit 507c30c

Please sign in to comment.