public function kickChatMember($chatId, $userId, $untilDate = null)
    {
        return $this->call('kickChatMember', [
            'chat_id' => $chatId,
            'user_id' => $userId,
            'until_date' => $untilDate
        ]);
    }
public function kickChatMember($chatId, $userId, $untilDate = null)
    {
        return $this->call('kickChatMember', [
            'chat_id' => $chatId,
            'user_id' => $userId,
            'until_date' => $untilDate
        ]);
    }
public function kickChatMember ( $ chatId , $ userId , $ untilDate = null ) { return $ this -> call ( 'kickChatMember' , [ 'chat_id' => $ chatId , 'user_id' => $ userId , 'until_date' => $ untilDate ] ) ; }
Use this method to kick a user from a group or a supergroup.
In the case of supergroups, the user will not be able to return to the group
on their own using invite links, etc., unless unbanned first.
The bot must be an administrator in the group for this to work. Returns True on success.

@param int|string $chatId Unique identifier for the target group
or username of the target supergroup (in the format @supergroupusername)
@param int $userId Unique identifier of the target user
@param null|int $untilDate Date when the user will be unbanned, unix time.
If user is banned for more than 366 days or less than 30 seconds from the current time
they are considered to be banned forever

@return bool
Use this method to kick a user from a group or a supergroup . In the case of supergroups the user will not be able to return to the group on their own using invite links etc . unless unbanned first . The bot must be an administrator in the group for this to work . Returns True on success .