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

Commit 59a9d32

Browse files
committed
Bugfix: chatDeleteUser()-command was wrong
Fixes #19
1 parent 1a91c59 commit 59a9d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Zyberspace/Telegram/Cli/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function chatAddUser($chat, $user, $numberOfMessagesToFoward = 100)
172172
*/
173173
public function chatDeleteUser($chat, $user)
174174
{
175-
return $this->exec('chat_delete_user', $this->escapePeer($chat), $this->escapePeer($user));
175+
return $this->exec('chat_del_user', $this->escapePeer($chat), $this->escapePeer($user));
176176
}
177177

178178
/**

0 commit comments

Comments
 (0)