public function clear($chatId, array $chat)
    {
        $params = [
            'chatid' => $chatId,
            'chat'   => $chat,
        ];

        return $this->parseJSON('json', [self::API_CLEAR_NOTIFY, $params]);
    }
public function clear($chatId, array $chat)
    {
        $params = [
            'chatid' => $chatId,
            'chat'   => $chat,
        ];

        return $this->parseJSON('json', [self::API_CLEAR_NOTIFY, $params]);
    }
public function clear ( $ chatId , array $ chat ) { $ params = [ 'chatid' => $ chatId , 'chat' => $ chat , ] ; return $ this -> parseJSON ( 'json' , [ self :: API_CLEAR_NOTIFY , $ params ] ) ; }
Clear chat.

@param string $chatId
@param array  $chat

@return \EntWeChat\Support\Collection
Clear chat .