Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
Bugfix: chatDeleteUser()-command was wrong
Browse files Browse the repository at this point in the history
Fixes #19
  • Loading branch information
zyberspace committed Dec 23, 2015
1 parent 1a91c59 commit 59a9d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Zyberspace/Telegram/Cli/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function chatAddUser($chat, $user, $numberOfMessagesToFoward = 100)
*/
public function chatDeleteUser($chat, $user)
{
return $this->exec('chat_delete_user', $this->escapePeer($chat), $this->escapePeer($user));
return $this->exec('chat_del_user', $this->escapePeer($chat), $this->escapePeer($user));
}

/**
Expand Down

0 comments on commit 59a9d32

Please sign in to comment.